Which fo the following header files are necessary for successful execution of following code ?
void main()
{
puts("Hello");
}
What will be the output of following C++ code ?
#include <iostream.h>
class X
{
public:
X()
{
cout<<"Hello"<<endl;
}
};
void main()
{
X ob[5];
}
If the main function in c++ program is declared as int main(int argc,char *argv[]) then which of the following contains the name of program ?
NULL is defined in which of the following header files?
What is the minimum number of queue that is used for implementing priority queue ?
What is the maximum height of binary tree containing 7 nodes ?
Which option correctly describes stable sort ?
Which of the following algorithm has O(n logn) Complexity in worst case?
Which option correctly represents a pointer to function returning int?
Which of the following is false regarding properties of friendship in classes ?
Which of the following explains the meaning of ifstream test(“out.txt”) ?
Which of the following functions are generated by compiler implicitly if not provided explicitly ?
What will be the output of following code snippet assuming that all required header files are included ?int main()
{
int a = 0; int b = 0;
if(a++ && b++)
b = b+2;
printf(%d,a+b);
return 0;
}
Which of the following value of openmode enumeration opens the file in input/read mode only?
Which of the following is true about linked lists?