R
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x % y);
The expression (x % y) evaluates to 10 because 10 divided by 20 leaves a remainder of 10.
You must be Logged in to update hint/solution
Q. What will be output for the followiing code?
Q. What is the output of the following C++ code?
Q. What is the correct syntax for including a user-defined header file in C++?
Q. Which type of data file is analogous to an audio cassette tape?
Q. To perfor file input / output operation in C++, we must include which header file ?
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x %= y);
Q. Observe following function declaration and choose the best Ans:: int divide ( int a, int b = 2 )
Discusssion
Login to discuss.