C Quiz – 2

#1. What file extension do you choose to save a C program file ? You file name is “File”.

 

#2. What is the return type of main() function?

 

#3. Which is the correct syntax for printf() ?

 

#4. Which of the following will print negative number ?

 

#5. printf(“%10d”, result) will ________________.

 

#6. What is the output of printf(“%10.3f”, result); ?

 

#7. Identify the newline character from the options.

 

#8. Identify a tab space from the following options.

 

#9. What does putchar() do ?

 

#10. What is function puts() ?

 

Finish

Advertisements

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.