V
Q. What is the output of the following code snippet? int x = 10; int y = 0; cout << (x || y);
The logical OR operator (||) returns true (1) if at least one of the operands is non-zero.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What will be the output of the following code? int x = 5; cout << (x << 1);
Q. String class have a concat() function that is used to _____________________
Q. Default access specifier for c++ class is:
Q. Which of the following escape sequence represents tab?
Q. Which data type is used to store a sequence of characters in C++?
Q. A friend function for unary operator overloading takes ‐‐‐‐ ‐arguments.
Q. What would be the output of the following program (in 32-bit systems)?
Q. Which of the following is the correct way to declare an array of 5 integers in C++?
Discusssion
Login to discuss.