Professional Documents
Culture Documents
No Question A B C D E Ans
UNIT-2
1 Which of the following int char float void None A
is the default return of the
value of functions in above
C++?
2 What happens to a It It It The None C
function defined inside becom becom becomes program of the
a class without any es a es a an inline gives an above
complex operations virtual default function of error
(like looping, a large functio calling the class
number of lines, etc)? n of functio
the n of
class the
class
3 What is an inline A A A function A None A
function? functio functio that is not function of the
n that n that checked that is above
is is for syntax not
expan called errors checked
ded at during for
each compile semantic
call time analysis
during
execut
ion
4 An inline function is compil run- never end of None A
expanded during e-time time expanded the of the
______________ program above