what will be the output:
main(){char ch;int a=10;printf("%d",ch);}

Answer Posted / sulagna samapika

what will be the output of printf("%d")
ans-
the outpot is 0

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a way to switch on strings?

683


What is ## preprocessor operator in c?

688


What is meant by type specifiers?

735


What do you mean by command line argument?

702


What are the data types present in c?

691






Can we compile a program without main() function?

706


Write the test cases for checking a variable having value in range -10.0 to +10.0?

1912


Explain why C language is procedural?

833


What are the types of variables in c?

644


why do some people write if(0 == x) instead of if(x == 0)?

716


What is character set?

749


Compare interpreters and compilers.

704


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1650


What is the significance of c program algorithms?

751


What is the use of linkage in c language?

678