Answer to Question #54216 in C for sachhya p tiwari
The below written program gives the output 100
#include<stdio.h>
int a;
main()
{
printf("%d\n",a);
}
a=100;
but if we use character type input insted of integer type it will show an error
program like
#include<stdio.h>
char a;
main()
{
printf("%c\n",a);
}
a='A';
Why is this happening?
0
Answer in progress...
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C
Comments
Leave a comment