Ad

Chapter - 7: Data Types Revisited

What will be the output of the following program:


Ad
A
Sections
8
Exercises
#include<stdio.h>
int x = 10;
int main()
{
	int x = 20;
	{
		int x = 30;
		printf("\n%d", x);
	}
	printf("\n%d", x);
	return 0;
}

Output: 

30
20

Ad

© 2024 Garbage Valuegarbage value logo