GEMS II CHP (5-6)
GEMS II CHP (5-6)
NAME:
CLASS:12th SUBJECT:COMPUTER
:SECTION-A:
Q: CHOOSE THE CORRECT OPTION (10)
1: The function of Arguments are separated with______
{{3,10,12,27,12},
{21,20,18,25,1},
{15,16,17,44,4}};
what is in k[1][3]?
a: 12 b: 18 c:15 d:25
a: 0 b: 5 c: 6 d: 4
b: Variable a and b are of int type and the intial value of both variables is 2
d: Variable b will have value two if not specified when calling function
:SECTION-B:
Q2: SHORT QUESTIONS
ATTEMPT ALL QUESTIONS (30)
1: Define default arguments?
OR
OR
OR
4: Define string.
OR
OR
OR
OR
8: Define array.
OR
OR
OR
: SECTION-C:
Q3: LONG QUESTIONS
ATTAMPT ALL QUESTIONS (20)
1: Explain the term of function overloading? Give example? How a
function can be overloaded in C++?
OR
OR
Explain strings? How string are defined in C++? Also give examples.
~BEST OF LUCK~