C++ Programming :: References
-
Which of the following statement is correct about the program given below?
#include int main() { int x = 80; int y& = x; x++; cout " " return 0; } -
Which of the following statement is correct about the program given below?
#include int main() { int x = 80; int &y = x;x++; coutreturn 0; } -
Which of the following statement is correct about the program given below?
#include int main() { int x = 10; int &y = x; x++; cout" " return 0; } -
Which of the following statement is correct about the program given below?
#include int main() { int x = 10; int &y = x; x = 25; y = 50; cout" " return 0; } -
Which of the following statement is correct about the program given below?
#include enum bix { a=1, b, c }; int main() { int x = c; int &y = x; int &z = x; y = b; cout return 0; } -
Which of the following statement is correct about the program given below?
#include int main() { int x = 10, y = 20; int *ptr = &x; int &ref = y; *ptr++; ref++; cout" " return 0; } -
Which of the following statement is correct about the program given below?
#include int main() { int x = 0; int &y = x; y = 5; while(x 5) { cout" "; x++; } coutreturn 0; } -
Which of the following statement is correct about the program given below?
#include int main() { int m = 2, n = 6; int &x = m; int &y = n; m = x++; x = m++; n = y++; y = n++; cout" " return 0; } -
Which of the following statement is correct about the program given below?
#include int main() { int m = 2, n = 6; int &x = m++; int &y = n++; m = x++; x = m++; n = y++; y = n++; cout" " return 0; } -
What will be the output of the following program?
#include class GateTest { public: GateTest(int &x, int &y) { x++; y++; } }; int main() { int a = 10, b = 20; GateTest objBT(a, b); cout" " return 0; }

Whatsapp
Facebook