a) 1
b) Infinity
c) 0
d) None of the Above
Q7) The array exforsys[10] can be declared using pointers as
a) % exforsys[]
b) & exforsys[]
c) * exforsys[]
d) @ exforsys[]
Q8) The variables that can be used only within the function in which it is decla
red is called as
a) Global Variables
b) Local Variables
c) Both A and B
d) None of the Above
Q9) The class that in C++ for file input is
a) Ifstream
b) Ofstream
c) Both A and B
d) The class that in C++ for file input is
Q10) Which of the following is an error statement in C++ array declaration?
a) int exforsys(10);
b) float exforsys[5][5];
c) int exforsys[5];
d) None of the Above
Q11) The members of a class are by default
a) Private
b) Public
c) Protected
d) None of the Above
Q12) The header that should be included while using manipulators in C++ is ioman
ip.h
a) manip.h
b) ifstream.h
c) None of the Above
Q13) The header file that must be included while using cout function in a C++ pr
ogram is
a) conio.h
b) math.h
c) iostream.h
d) None of the Above
Q14) The other name for external variables in C++ is
a) static variables
b) register variables
c) global variables
d) None of the Above
Q15) A function in a C++ program can be called
a) Only Once
b) Cannot be called at all
c) Any number of times
d) None of the Above
Q16) Which of the following denotes feature of OOPS?
a) Inheritance
b) Encapsulation
c) Polymorphism
d) All the Above
Q17) What is used to convert C++ source code into object modules?
a) Compiler
b) Linker
c) Both A and B
c) Both A and B
d) None of the Above
Contact www.solvedcare.com for best and lowest cost solution or email solvedcare
@gmail.com