Skip to content
VUBuddy

CS201P Lab Quiz 11 by Iqra Azhar

Introduction to Programming (Practical) PDF 571 KBUpdated 23 Oct 2026
Quiz CS201P Lab Quiz 11 by Iqra Azhar PDF 571 KB
vubuddy.com
Type
Quiz
Course
CS201P Introduction to Programming (Practical)
Size
PDF 571 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 571 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from page 2 of 3. Download the file for all 3 pages.

When overloading assignment (=) operator, which of the following syntax is correct?Select the correct option void operator (=) const String &other ; void operator = ( const String &s ); void operator (=) ( const String &s ); void operator (= String &s ); void operator=(const String &other); if (day == daysOfMonth ( *this ) ) { }In above code, *this refers to:Select the correct option Any Object Current Class Current Object Today Date and Time Current Object Correct syntax of the prototype of the overloaded operator function is _____________.Select the correct option return type operator-symbol operator (parameter); operator operator-symbol return type ( no parameter); return-type operator operator-symbol (parameter-list); return type operator (operator-symbol) return-type operator-symbol (parameter-list); Bool data type takes ______ values. Select the correct option

All CS201P files →
CS201P Introduction to Programming (Practical) All CS201P handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.