What will be the output of the program?
#include<stdio.h> int X=40; int main() { int X=20; printf("%d\n", X); return 0; }
Answer: Option A
Explanation:
Whenever there is conflict between a local variable and global variable, the local variable gets priority.
Name *:
Email : (optional)
Your comments will be displayed only after manual approval.