Question: The output of this program is int a = 10; void main() {int a = 20; cout < < a < < ::a; } a.
The output of this program is int a = 10; void main() {int a = 20; cout << a << ::a; } a. Syntax error b. 1020 c. 20 10 d. 20 20
Step by Step Solution
3.43 Rating (150 Votes )
There are 3 Steps involved in it
The answer is b 1020 This is because the output of ... View full answer
Get step-by-step solutions from verified subject matter experts
