R
Q. What is the value of x?
#include <iostream> using namespace std; void f(int &x) { x = 3; } int main() { int x = 2; f(x); cout << "The value of x is " << x; return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. How are the constants declared?
Q. Which of the following operators cannot be overloaded in C++?
Q. Which of the following is the correct way to declare a constant in C++?
Q. The visibility of variables inside a structure is
Q. Which value will it take when both user and default values are given?
Q. Constant variables can be created in CPP by using ________ .
Q. Which of the following is the correct syntax to open a file in C++?
Discusssion
Login to discuss.