We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
Question No: 1 ( Marks: 1 ) - Please choose one
All A template function must have at least ---------- generic data type
► One (Page 499)
Question No: 2 ( Marks: 1 ) – Please choose one
Which of the following statement is best regarding declaration of friend function?
► Friend function must be declared after public keyword
. ► Friend function must be declared after private keyword.
► Friend function must be declared at the top within class definition.
► It can be declared anywhere in class as these are not affected by the public and private keywords.
Question No: 3 ( Marks: 1 ) - Please choose one
Which one of the following is the declaration of overloaded pre-increment operator implemented as
► Class-name operator +() ;
► Class-name operator +(int) ;
► Class-name operator ++() ; (Page 389)
► Class-name operator ++(int) ;
Question No: 4 ( Marks: 1 ) - Please choose one
Class is a user defined___________.
► data type (Page 317)
► memory referee
► none of the given options.
Question No: 5 ( Marks: 1 ) - Please choose one
How many bytes will the pointer intPtr of type int move in the following statement? intPtr += 3 ;
► 3 bytes
► 6 bytes
► 12 bytes
► 24 bytes
Question No: 6 ( Marks: 1 ) - Please choose one
Which of the following is the correct C++ syntax to allocate space dynamically for an array of 10 int?
► new int(10) ;
► new int ;
► int new(10) ;
► int new;
Question No: 7 ( Marks: 1 ) - Please choose one
A Pointer is a special variable that contain
► Data values
► Memory Address (Page 267)
► Both data and values
► None of the given option
Question No: 8 ( Marks: 1 ) - Please choose one
Reference Value Type Data The code is written to __________ the program.
► none of the given options
Question No: 9 ( Marks: 1 ) - Please choose one
Computer can understand only machine language code.
Question No: 10 ( Marks: 1 ) - Please choose one
We can not define a function as a friend of a Template class.
► False (Page 151)
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)