R

Ram Sharma • 193.86K Points
Coach

Q. The output of this program is

Code:
int a = 10;
void main()
{
int a = 20;
cout << a << ::a;
}
  • (A) 20 20
  • (B) 20 10
  • (C) 10 20
  • (D) Syntax error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.