Question:What will be output of the following c program?
#include<stdio.h>
int main(){
    int xyz=20;{
         int xyz=40;
    }
    printf("%d",xyz);
    return 0;
}
 

A 20 

B 40 

C 0 

D Compilation error 

E None of these 

+ Answer
+ Explanation
+ Report
Total Preview: 656

Copyright © 2024. Powered by Intellect Software Ltd