πŸ“Š C Programming
Q. What is the output of the program?
Code:
int main()
{
	register a=10;
	{
		register a = 15;
		printf("%d ", a);
	}
	printf("%d ", a);
	
	return 20;
}
  • (A) 15 20
  • (B) 15 10
  • (C) 10 15
  • (D) 15 15
πŸ’¬ Discuss
βœ… Correct Answer: (B) 15 10

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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