51.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
    int a = 10;
    if (a < 10) 
    {
        for (i = 0; i < 10; i++)
           cout << i;
    }
    else 
    {
        cout << i;
    }
    return 0;
}

53.
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main()
{
    float i = 123.0f;
    cout << i << endl;
    return 0;
}

56.
Choose the correct option.
extern int i;
int i;

58.
0946, 786427373824, 'x' and 0X2f are . . . . . . . . and . . . . . . . . literals respectively.

Read More Section(Variables and Data Types in C plus plus)

Each Section contains maximum 100 MCQs question on Variables and Data Types in C plus plus. To get more questions visit other sections.