Paper Detail
Total 80 Marks

40 Mcqs = 40 Marks
subjective=40 Marks
4 Question = 2Marks
4 Question =3 Marks
4 Question = 4 Marks


Q.41
What does it happen if an object id assign to another object without overloading an assignment operator.2marks

Q.42
Describe the first parameter to stream insurtionand stream extraction>> operator function? 2Marks

Q.43
Write the meaning of given line code where m is object of class matrix

If (&m! = this)

Q.44
Why always array start with index 0(zero) ? 2Marks

Q.45
What will be the output of following function if we call this function by passing int 5? 3 marks
template T reciprocal(T x) {return (1/x); }

Q.46
Identify all the given functions as member function of input stream or output stream
Get, unget, and put, getline, Peek, Putline, 3Marks

Q.47
Write the general syntax for unary member operator 3Marks

Q.48
Write the output of this code 3Marks

Main()
{
int x,y,z;
x=5;
y=3+x++;

Q.49
What are the advantages and disadvantages of using templates? 5Marks

Q.50
Find the errors in given code and correct them; also write the output of the code-5 Marks

Q.51
Describe the effect of an overflow condition if it occurs within a program 5 Marks

Q.52
Make a program instruction was given in the code 5Marks



Sponsored Links