C/C MCQ Quiz Hub

OOPS Quiz Questions and Answers(MCQS)

Choose a topic to test your knowledge and improve your C/C skills

1. Almost every C program begins with the statement




2. The two operators && and || are




3. A variable that holds the memory address of another object is called




4. Enumeration is a




5. In C, square brackets [ ] are used in




6. Main( ) is an example of




7. By default, any real number in ‘C’ is treated as




8. Which of the following operators in ‘C’ programming language takes only integer operands?




9. An identifier in C




10. Which of the following is a storage class specification in C?




11. Which language makes use of object oriented approach?




12. Each block of a C program is referred as




13. Whenever a C program is executed, execution starts from




14. allows the user to use




15. _ groups a number of program statements into a single unit.




16. When one loop is constructed within another loop it is called a




17. By pressing ___ key, the user can exit the turbo C environment.




18. In programming, repeating some code is usually called ___




19. The first character of the variable name




20. In which header file are the library functions used for I/O purpose kept?




21. The method of checking the pseudo codes is called ___




22. Keywords cannot be used as ____




23. Which of the following are called white space characters?




24. _ are declared within the body of a function.




25. _ is an effective tool for programming scientific, mathematical and engineering computations.




26. The functions that are defined according to our requirements are called ____




27. In the for loop structure, the clauses namely ___ are optional.




28. Subscripted variable is any type such as




29. In which of the following it is convenient to group related data items as one entry?




30. An unary operator! Represents




31. An unary operator! Represents




32. The single character input/output functions are




33. The general form of the condition expression is




34. The break statement is used to exit from a




35. Which is not necessary when using bar codes in supermarkets?




36. By using ____ the speed of the process can be increased.




37. A variable is an algebraic expression that temporarily assumes the properties of a constant is called




38. A function can return




39. __ have no meaning outside the body of a function.




40. The most popular loop for array manipulation is the ___ loop.




41. Which of the following statements is correct?




42. The most common use of the one dimensional array in C is




43. Which header file should be included if it is required to develop a function that can accept variable number of arguments?




44. A single character input from the keyboard can be obtained by using the function




45. The operator << and >> are




46. An error in the program is called




47. Ready made library functions are used for




48. The maximum length of the variable is ___ characters.




49. Which one of the following indicates the solution method?




50. Which of the following is an intermediate language?




51. Each element in a structure has a




52. For two-dimensional arrays data are usually entered




53. The __ is a program that links the object code of the program with the library function code that is necessary for the program to run.




54. Which of the following statement is used to skip a part of the loop?




55. The method in which a problem has been divided into many smaller problems is called ___




56. C contains which of the following two special pointer operators?




57. The header file `setjmp.h’ can be used for providing




58. The general form of do while statements is




59. A library files that come with C are




60. The math library is set up for the user by the file




61. Running any C program involves




62. In do-while structure, the condition is checked at ___




63. _ is in between English and the high level computer language.




64. The functions scan f( ) reads




65. An expression