Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic
CS201 Quiz Introduction to Programming C++ [4] Pageviews=1

 

 CS201 Quiz Introduction to Programming C++ [4]

Go down 
AuthorMessage
Admin
Admin



Posts : 216
Join date : 2011-06-17
Location : Rawalpindi

CS201 Quiz Introduction to Programming C++ [4] Empty
PostSubject: CS201 Quiz Introduction to Programming C++ [4]   CS201 Quiz Introduction to Programming C++ [4] EmptySat Aug 06, 2011 6:05 pm

CS201 Quiz Introduction to Programming C++ [4]

If we write a statement like s2 = s1; ___ will be the calling object and ____ will be passed to the = operator as an argument.
► s1, s1
► s1, s2
► s2, s1
► s2, s2

What will be the output of following statement?
cout << setfill(‘0’) << setw(7) << 128 ;

► 0000128
► 0128128
► 1280000
► 0012800

The stream insertion and extraction operators are not already overloaded for _______
► Built-in data types
► User-defined data types
► Both built-in and user-defined types
► None of the given options

Constructors can not be overloaded like ordinary functions.
► True
► False

Overloaded new operator function takes parameter of type size_t and returns
► void (nothing)
► void pointer
► object pointer
► int pointer

Which of the following is the correct way to declare a variable x of integer type?
► x int ;
► integer x ;
► int x;
► x integer

Reserve words cannot be used as a variable name.
► True
► False

A template function must have at least ---------- generic data type
► Zero
► One
► Two
► Three


Template functions can also be overloaded
► True
► False

We can not make a member function of a class as template function.
► True
► False

When break statement is encountered in switch statement, it
► Stops the entire program
► Stops the execution of current statement
► Exits from switch statement
► None of the given options

We can also define a variable of user define data type (object) as static.
► True
► False
[You must be registered and logged in to see this link.]
Back to top Go down
https://pakitworld.board-directory.net
 
CS201 Quiz Introduction to Programming C++ [4]
Back to top 
Page 1 of 1
 Similar topics
-
» CS201 Quiz Introduction to Programming C++ [9]
» CS201 Quiz Introduction to Programming C++ [10]
» CS201 Quiz Introduction to Programming C++ [11]
» CS201 Quiz Introduction to Programming C++ [7]
» CS201 Quiz Introduction to Programming C++ [6]

Permissions in this forum:You cannot reply to topics in this forum
 :: MCS/BCS/MIT/BIT/BSCS :: Computer Science :: CS201 Introduction to Programming C++-
Jump to: