Sail E0 Webinar
Question


What will be the output of this program?
1.
#include
2.
using namespace std;
3.
int main()
4.
{
5.
char c = 74;
6.
cout

Options:
A .  A
B .  N
C .  J
D .  I
Answer: Option C

The literal value for 74 is J. So it will be printing J.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers