Tuesday, February 23, 2010

(NVU) CS201 introduction to programming 22Feb

following are the Questions: 22/Feb 

lifetime variable, automatic life time variable?

Like member functions, ______ can also access the private data members of a class.

     Non-member functions

       Friend functions

   Any function outside class

   None of the given options

Define Class?     3 marks

function created with in function called?
nested
overloaded
grouped
none of them

what is meant by default assignment in C?   2marks

what are the disadvantages of inline function   5 marks

what is mean by this code      3 marks
cout<<hex<<i;



Q41      10 marks

struct student{
 int Id;
 int marks;
}

write code which accept dynamic allocation of students and receive input of re student ID and marks, and than display records


Sufiyan Ali
--
those who HatE mE
motivate mE

--
VISIT "MUQADAS FUND WEBSITE"
http://muqadas-fund.sajidsaif.com/
 
 
For more options, visit this group at
http://groups.google.com.pk/group/new-virtual-university-pakistan?hl=en

No comments:

Post a Comment