Which of the following is correct using default argument?
a) int foo (int x, int y=5, int z=10)
b) int foo (int x=5, int y=10, int z)
c) int foo (int x=5, int y, int z=10)
d) all of these
How many functions needed to be represented in C++?
a) 0
b) 1
c) 2
d) 3
Unary scope resolution operator is denoted by…..
a) !!
b) %%
c) :
d) ::
Which of the following function declaration is incorrect?
a) int sum (int a, int b=2, int c=3)
b) int sum (int a=5, int b)
c) int sum (int a=0, int b, int c=3)
d) both b & c
Which of the following functions are provided by compiler default?
a) copy constructor
b) assignment
c) constructor
d) all of these
How many can max number of arguments present in function in the c99 compiler?
a) 99
b) 90
c) 102
d) 127