πŸ“Š C++
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
πŸ’¬ Discuss
βœ… Correct Answer: (B) 20 10

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
202
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
95%
Success Rate