C Language Question List for Exams

1-mark question list

Unit : 1 – Introduction to C Language

  1. _____ has developed C language
  2. _____ is the pictorial representation of programming logic
  3. ANSI stands for _____
  4. _____ are also known as reserved words
  5. _____ types operators are there in C language
  6. int type variables occupies _____ bytes in memory in C
  7. float type variables occupies _____ bytes in memory in C
  8. char type variables occupies _____ bytes in memory in C
  9. double type variables occupies _____ bytes in memory in C
  10. All preprocessor commands begin with _____ symbol
  11. _____ preprocessor is used to include header files

Unit : 2 – Control Structure

  1. if is an iterative control statement (true/false)
  2. for loop is selective control structure (true/false)
  3. do…while loop is _____ control loop (entry/exit)
  4. while loop is _____ control loop (entry/exit)
  5. _____ keyword is used to stop the loop
  6. _____ statement is used to bring the program control to the beginning of the loop
  7. _____ is used to transfer the program control to a predefined label
  8. for ( ; ; ) is an infinite loop (true/false)

Unit : 3 – Library Functions and User defined function (UDF)

  1. _____ function is used to count the length of string
  2. _____ function is used to compare two string
  3. _____ function is used to copy a string
  4. _____ function is used to get input from user
  5. _____ function is used to give output to screen
  6. _____ function converts character to upper case
  7. _____ function converts character to lower case
  8. _____ function used to get the absolute number
  9. _____ types of UDF are there in C
  10. _____ variable points to the another variable
  11. When a function calls itself, it is known as _____
  12. _____ number of storage classes are there in C
  13. _____ keyword is used to declare constant in C
  14. _____ keyword is used to return a value from a function

Unit : 4 – Array and Structure

  1. _____ is a group of variables that shares the common name in C
  2. _____ is a group of variables of dissimilar types in C
  3. _____ symbol is used to declare array in C
  4. _____ keyword is used to declare a structure
  5. _____ symbol is used to specify end the structure declaration
  6. Structure members are accessed using _____ operator
  7. Structure (pointer type) members are accessed using _____ operator

Unit : 5 – Pointer and File Handling

  1. Pointer is declared using _____ symbol
  2. Pointer to pointer is declared using _____ symbol
  3. argc stands for _____
  4. argv stands for _____
  5. Arguments to main function are passed using _____
  6. _____ function is used to create/open a file
  7. _____ function is used to close a file
  8. _____ mode is require to open file for writing
  9. _____ mode is require to open file for reading
  10. _____ mode is require to open file for appending
  11. _____ function returns the current position of a file pointer
  12. _____ function sets the file pointer at the beginning of a file
  13. _____ writes an integer to a file
  14. _____ reads an integer from a file
  15. _____ writes a character to a file
  16. _____ reads a character from a file
  17. feof stands for _____

General Question List

  1. What is C Language?
  2. What is Data type?
  3. Who developed C Language?
  4. What is Identifier?
  5. What is variable?
  6. What is constant?
  7. What is block?
  8. What is man function?
  9. What is #include?
  10. When to use #include?
  11. List of Data types in C.
  12. What is the size of each data type in C?
  13. What is Array?
  14. What is Structure?
  15. What is Function?
  16. What is User defined function?
  17. What is prototype?
  18. What is loop?
  19. Types of loops in C.
  20. What is Entry Control Loop?
  21. What is Exit Control Loop?
  22. What Do…While?
  23. Usage of break and continue keyword
  24. Usage of #define
  25. What is header file?
  26. What is the meaning of f in printf() and scanf() function?
  27. When use printf() function?
  28. When to use scanf() function()
  29. What value is returned by printf() function?
  30. What value is returned by scanf() function?
  31. clrscr() contained in which header file?
  32. printf() and scanf() contained in which header file?
  33. Full form of ANSI C
  34. Full form of ASCII
  35. List of operators in C language
  36. What is Logical Operator?
  37. What is Ternary Operator?
  38. What is Binary Operator?
  39. What is Unary Operator?
  40. What is Increment Operator?
  41. What is Decrement Operator?
  42. A C language program begins its execution from which function?
  43. Which compiler you are using in LAB for C programming?
  44. What is Branching Statement?
  45. What is Looping Statement?
  46. How many keywords are there in C language?
  47. What is keyword?
  48. What is literal?
  49. Each statement in C language ends with which symbol?
  50. Which is latest version of C compiler?

Question list of differences

  1. printf() vs scanf()
  2. puts() vs gets()
  3. putc() vs getc()
  4. getch() vs getchar()
  5. #define vs #include
  6. entry control loop vs exit control loop
  7. for loop vs while loop
  8. if statement vs switch case statement
  9. int data type vs char data type
  10. array vs structure