| 1. | A header file contains macros, structure declaration and function prototypes. | |||||||
|
| 2. | There exists a way to prevent the same file from getting #included twice in the same program. | |||||||
|
| 3. | Preprocessor directive #undef can be used only on a macro that has been #define earlier | |||||||
|
| 4. | Which of the following is suitable data type for the variable a in the statement given below? (datatype) a = 23.45; | |||||||||||||||
|
| 5. | What will be the output of the program ? | |||||||||||||||
|
| 6. | What will be the output of the program? | |||||||||||||||
|
| 7. | Is there any difference between the two statements? char *ch = "IndiaBIX"; char ch[] = "IndiaBIX"; | |||||||
|
| 8. | Which header file should be included to use functions like malloc() and calloc()? | |||||||||||||||
|
| 9. | By default a real number is treated as a | |||||||||||||||
|
| 10. | What will be the output of the program ? | |||||||||||||||
|
| 11. | What will be the output of the program? | |||||||||||||||
|
| 12. | Bitwise can be used to generate a random number. | |||||||
|
| 13. | Which of the following function is used to find the first occurrence of a given string in another string? | |||||||||||||||
|
| 14. | If scanf() is used to store a value in a char variable then along with the value a carriage return(\r) also gets stored it. | |||||||
|
| 15. | What will be the output of the program? | |||||||||||||||
|
| 16. | What will be the output of the program? | |||||||||||||||
|
| 17. | The expression of the right hand side of || operators doesn't get evaluated if the left hand side determines the outcome. | |||||||
|
| 18. | What will be the output of the program ? | |||||||||||||||
|
| 19. | A function cannot be defined inside another function | |||||||
|
| 20. | What will be the output of the program (myprog.c) given below if it is executed from the command line? cmd> myprog friday tuesday sunday | |||||||||||||||
|
its so help full for C Programming thank to share me this nice
ReplyDeletenew-bikes
Really it is help ful
ReplyDelete