Question:What will be output of the following c program?#include<stdio.h> int main(){ int xyz=20; int xyz; printf("%d",xyz); return 0; }
#include<stdio.h> int main(){ int xyz=20; int xyz; printf("%d",xyz); return 0; }
A 20 B 0 C Garbage D Compilation error E None of these
+ AnswerD
+ ExplanationTwo local variables cannot have same name in same scope.
+ Report