Online Test

:

 

When will the cin can start proceessing of input?


What is the size of wchar_t in C++?


What does the checked iterator allow you to find?


A pointer to the base class can hold address of 


How does the limits.h header file can be represented in C++?


How many constructors can a class have? 


Which of the following function prototype is perfectly acceptable?


Which of the following statements are true?
    int f(float)


What is the use of header 


Which of the following access specifies is used in a class definition by default?


Operator overloading is


Use of virtual functions implies 


this pointer 


Which of the following statement is correct?

 


What will be the output of the following program?

#include<iostream.h>
long EpiFunction(int x, int y = 5, float z = 5)
{
    return(++x * ++y + (int)++z);
}
int main()
{
    cout<< EpiFunction(20, 10); 
    return 0;
}

What is the output of this program?

#include <iostream.h>
    using namespace std;
    ostream & operator<<(ostream & i, int n)
    {
        return i;
    }
    int main()
    {
        cout << 5 << endl;
        cin.get();
        return 0;
    }

The operator that cannot be overloaded is 


What is the output of this program?

  #include <stdio.h>    
    #include <stdlib.h>   
    int main ()
    {
        int n, m;
        n = abs(23);
        m = abs(-11);
        printf ("%d", n);
        printf ("%d", m);
        return 0;
    }

Identify the user-defined types from the following?


If we create a file by ‘ifstream’, then the default mode of the file is


What does the cerr represent?


What is the difference between unsigned int length() and unsigned int size()?


Void pointer can point to which type of objects?


Which of the following keywords is used to control access to a class member?

 


Which of the following statement is correct?

 

 

About Us

TechEpi.com is an online learning website.We cover the latest tech news,online tutorials,blog,online test for Aptitude,C,Java,PHP to improve your knowledge.

Newsletter


Follow TechEpi on