11.
Which of the following is correct?

14.
Const qualifier can be applied to which of the following?
i. Functions inside a class
ii. Arguments of a function
iii. Static data members
iv. Reference variables

15.
What will be the output of the following C++ code?
#include <iostream>
class Test
{
   public:
     void fun();
};
static void Test::fun()   
{
    std::cout<<"fun() is static";
}
int main()
{
    Test::fun();   
    return 0;
}

17.
What are the escape sequences?

19.
What happens if the following program is executed in C and C++?
#include <stdio.h> 
void func(void)
{
	printf("Hello");
}
void main() 
{ 
	func();
	func(2);
}

20.
Which of the following is correct?

Read More Section(Introduction to C plus plus)

Each Section contains maximum 100 MCQs question on Introduction to C plus plus. To get more questions visit other sections.