πŸ“Š C++
Q. The output of this program is
Code:
int a = 10;
void main()
{
int a = 20;
cout << a << ::a;
}
  • (A) Syntax error
  • (B) 10 20
  • (C) 20 10
  • (D) 20 20
πŸ’¬ Discuss
βœ… Correct Answer: (C) 20 10

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
186
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Omkar Shekhavat
Publisher
πŸ“ˆ
88%
Success Rate