adplus-dvertising
frame-decoration

Question

What will be the output of the program?
#include<stdio.h>

int main()
{
    const c = -11;
    const int d = 34;
    printf("%d, %d\n", c, d);
    return 0;
}

a.

Error

b.

-11, 34

c.

11, 34

d.

None of these

Posted under C Programming

Answer: (b).-11, 34

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the program?