Q.

What will be the output of the following code?

#include <iostream.h>
using namespace std;
int main()
{
float a = 'a';
cout << a;
return 0;
}

A. a
B. 0.0
C. 97
D. syntax error
Answer» C. 97
2.3k
0
Do you find this helpful?
31

Discussion

No comments yet

Related MCQs