Online Test

:

 

How many constructors can a class have? 


Operator overloading is


Which of the following statement is correct?

 


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


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

 


When will the cin can start proceessing of input?


What is the output of this program?

#include <stdio.h>
    #include <math.h>
    int main ()
    {
        printf ("The value of -3.1416 is %lf\n", fabs (-3.1416));
        return 0;
    }

How many streams are automatically created when executing a program?


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


What is the use of header 


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


What does a escape code represent?


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;
    }

What does the cerr represent?


Void pointer can point to which type of objects?


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


The operator that cannot be overloaded is 


What is the benefit of c++ input and output over c input and output?


What we can’t do on a void pointer?


Which of the following function prototype is perfectly acceptable?


Which will be used with physical devices to interact from C++ program?


Identify the user-defined types from the following?


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;
    }

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