(A) the outermost loop
(B) the innermost loop
(C) all loops are executed the same number of times
(D) cannot be determined without knowing the size of the loops
Category: Introduction to Programming Mcqs
Introduction to Programming Mcqs for Screening tests, Interviews, Viva and Other competitive exams. Programming Mcqs section will help users to prepare mcqs of programming languages for various exams. Aspirants of Lecturer Computer Science, SST Computer Science, Subject Specialist Computer Science, Data Entry operator, Computer Programmer, Computer Operator, Software engineer and all other Competitive Exams can prepare their computer programming portion from here.
Which looping process checks the test condition at the end of the loop?
(A) for
(B) while
(C) do while
(D) no looping process checks the test condition at the end
The second parameter of operator functions for << and >> are objects of the class for which we are overloading these operators?
(A) True
(B) False
(C) Both
(D) None
We can delete an array of objects without specifying [] brackets if a class is not doing dynamic memory allocation internally?
(A) True
(B) False
(C) Both
(D) None
A stream is an ordered sequence of bytes?
(A) True
(B) False
(C) Both
(D) None
The normal source of cin object is,?
(A) File
(B) Disk
(C) Keyboard
(D) RAM
We can also create an array of user define data type?
(A) True
(B) False
(C) Both
(D) None
When we use manipulators in our program then which header file should be included?
(A) iostream.h
(B) stdlib.h
(C) stdio.h
(D) iomanip.h