TOTAL 52 QUESTIONS

12 LONG AND 40 MCQ’S

AND MOSTLY MCQ’S ARE NOT FROM PAST PAPERS, ITS FROM LAST CHAPTERS… L

Q: 41: Write a program with different variables V1 and V2 and print out it (hexadecimal, decimal, octal) form use one manipulator. 5 marks ..

Q:42: What is structure and union structure? 3 marks.

Q:43: What is template and write general syntax of templates. 3marks..

Q:44: How many types of structure? 2 marks

Q:45: Write the rules for using of Dynamic memory allocations… 5marks..

Page 479

Q:46: Describe the first parameter to stream insertionand stream extraction>> operator function? 2marks

Q:47: See the following code segment

Template <class T>

Class myclass

{

Private :

Sponsored Links

Tx;

Public

Myclass(ta)

{

X=a;

};

Write the main function which creates two objects of class for int & double types?

Q:48: If the requested memory is not available in the system then what does calloc/malloc and new operator

return? 3marks …