Question
x = y = z = 0;
a.
x = 0, y = Null, z = Null
b.
x = 0, y = 0, z = 0
c.
x = 0, y = 1, z = 2
d.
the statement is incorrect
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. What is the result of the following statement? x = y = z = 0;
Similar Questions
Discover Related MCQs
Q. What is the result of the following statement?
X = 10;
y = ++x;
View solution
Q. Which of the following statement creates infinite loop?
View solution
Q. The use of “break” Statement
View solution
Q. To use the function tolower(), which of the following header file should include
View solution
Q. What is the function overloading?
View solution
Q. By default, members of a C++ class are:
View solution
Q. Which of the following statements is true in C++?
View solution
Q. C++ supports:
View solution
Q. Which of the following is not a C++ keyword?
View solution
Q. Which of the following is not a bitwise operator?
View solution
Q. In C++, the expression 5/2 is evaluated to:
View solution
Q. In C++, the string literal “C++” occupies exactly ………. of memory.
View solution
Q. In C++, generic functions are created using the keyword:
View solution
Q. The implicit argument passed to a member function of a c++ class is called:
View solution
Q. The default copy constructor performs:
View solution
Q. Bohm and Jacopini's work demonstrated that all the programs must be written in terms of
View solution
Q. Using keywords as an identifier causes
View solution
Q. A procedure for solving a problem in terms of actions and their order, is called as
View solution
Q. The rectangle symbol in flowchart is called as
View solution
Q. Writing a keyword while as While in C++ program causes 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!