Question
a.
y=22;
b.
y=x=22;
c.
y=(x=22);
d.
Both b and c
Posted under Object Oriented Programming Using C++
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which statement is correct for chained assignment?
Similar Questions
Discover Related MCQs
Q. The return 0 statement at the end of a program indicates what?
View solution
Q. The main ( ) function in the header of a program indicates what
View solution
Q. The word Cout stands for
View solution
Q. The standard input and output library of C++ is
View solution
Q. The symbolic constant "endl" is a/an
View solution
Q. The operator that takes two operands are called
View solution
Q. Post-increment operator is denoted by
View solution
Q. A variable in C++ cannot be used
View solution
Q. Empty string is denoted by
View solution
Q. If the value of an integer type exceeds their maximum or minimum limit, it is called
View solution
Q. Insertion operator is also called
View solution
Q. Which symbol is used for horizontal tab in C++?
View solution
Q. Unary operator means that
View solution
Q. C++ was developed by
View solution
Q. A program is made up of individual syntactic elements, called
View solution
Q. The main ( ) function must be declared
View solution
Q. Int has a range of
View solution
Q. The symbol << is called
View solution
Q. The sequence of instructions for a computer to execute, is called as
View solution
Q. In C++, the semicolon is used as a
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming Using C++? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!
Software Engineering
Learn about the systematic approach to developing software with our Software...
Microprocessor
Understand the heart of your computer with our Microprocessor MCQs. Topics include...