Answer to Question #54216 in C for sachhya p tiwari

Question #54216
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?
1
Expert's answer

Not answered

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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal