Online Test

:

 

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 function prototype is perfectly acceptable?


How many streams are automatically created when executing a program?


Which of the following statement is correct?

 


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

How many constructors can a class have? 


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


When will the cin can start proceessing of input?


Which of the following statement is correct?

 


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


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

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

 


What does a escape code represent?


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


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


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

this pointer 


What is the use of header 


The operator that cannot be overloaded is 


Use of virtual functions implies 


What does the checked iterator allow you to find?


Identify the user-defined types from the following?


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


A pointer to the base class can hold address of 


What we can’t do on a void pointer?

 

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