adplus-dvertising
frame-decoration

Question

What is the output of this program?
int main()
{
float x = 'a';
printf("%f", x);
return 0;
}

a.

a

b.

0.000000

c.

97.000000

d.

Run time error

Answer: (c).97.000000

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of this program?