Vidyalelo
C++ Programming · all questions

Variables and Data Types in C++
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

123

Questions

7/7

Page

Pick an option on a question to see the right answer and solution.

Which of three sizes of floating point types should be used when extended precision is required?

Select an option to see the answer and solution.

What will be the output of the following C++ code?
#include <iostream>
using namespace std;
enum test 
{
    A = 32, B, C
};
int main()
{
    cout << A << B<< C;
    return 0;
}

Select an option to see the answer and solution.

Pick the odd one out.

Select an option to see the answer and solution.