What will be the output of the program?
#include<stdio.h>
int main()
{
int y=128;
const int x=y;
printf("%d\n", x);
return 0;
}
a. 128
b. Garbage value
c. Error
d. 0
ANSWER: 128
#include<stdio.h>
int main()
{
int y=128;
const int x=y;
printf("%d\n", x);
return 0;
}
a. 128
b. Garbage value
c. Error
d. 0
ANSWER: 128
Post a Comment