- Type
- Quiz
- Course
- CS201 Introduction to Programming
- Size
- PDF 676 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 7. Download the file for all 7 pages.
The life time of the static data member of a class is the life time of the
program.
stack The get member function, when passed no arguments, inputs an entire stream and returns it as the value of the function call. false. The operator function for << (stream insertion) >> and stream extraction must be Non-member function of class member functions of a class both none. _____________ must be included to use stream manipulator in your code.
Which of the following is a destination of cout stream? daratype variable constant printer
To get the memory address of a variable we use ___
i+=2 is equivalent to ___________.Select the correct option i=1+I; i=i++; 2+=I; i = i + 2. In C++ operators, which of the following operator cannot be overloaded ___________.Select the correct option
he behaviour of the compiler in _____classes is the same as in template functions. Select the correct option Abstract Nested Outer Template
Which of the following is not an advantage of templates?Select the correct option Easy to understand Helps in compiler optimizations Provide code reusability Templates are not type-safe." which of the following cannot act as data member of class?Select the correct option Objects Functions Structures Unions Functions A _____________ function of a class is defined outside that class scope, but it can access all private and protected members of the class. Select the correct option Global Private Protected Friend Consider the following code segment. Which of the following will be called while executing code at line 2?String s1 , s2;s1 = s2 ; assignment operator What is the sequence of event(s) when allocating memory to an object using new operator? Memory is allocated first before calling constructor Only constructor is called for object Only block of memory is allocated for object Constructor is called first before allocating memory
________ variable has a single copy for the whole class. static Which of the following functionality can be achieved through overloading? New operators cannot be defined through operator overloading. We can change the precedence of some operators
Related CS201 files
All CS201 files →- CS201 Midterm Highlighted Handouts by VU Topper RM Highlighted PDF 2.1 MB
- CS201 Final Term Current Solved Subjective Final term PDF 438 KB
- CS201 Quiz 3 by VU Topper RM Quiz PDF 614 KB
- CS201 MCQs by Izhar MCQs PDF 606 KB
- CS201 Short Notes Set 2 by VUBuddy Quiz PDF 660 KB
- CS201 Short Notes Quiz PDF 1.6 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.