Functions – True / False Questions 1. A function cannot be defined inside another function A. True B. Fals 2. Functions cannot return more…
Functions – Find Output of Program 1. What will be the output of the program in the 16-bit platform (Turbo C under DOS)? A.…
Functions – General Questions 1. The keyword used to transfer control from a function back to the calling function is A. switch…
Expressions – Yes / No Questions 1. Are the following two statement same? 1. a <= 20 ? (b = 30): (c = 30);…
Expressions – True / False Questions 1. Associativity has no role to play unless the precedence of the operator is the same. A. True…
Expressions – General Questions 1. Which of the following is the correct order of evaluation for the below expression? A. * /…
Declarations and Initializations – Yes / No Questions 1. Is there any difference in the following declarations? A. Yes B. No 2. Suppose a program is…
Declarations and Initializations – True / False Questions 1. A long double can be used if range of a double is not enough to accommodate a…
Object-Oriented Data Modeling – True or False 1. A method defines the form or protocol of the operation, but not its implementation. A. True B.…
Object-Oriented Data Modeling – General Questions 1. The fact that the same operation may apply to two or more classes is called what? A.…