Posted inPlacement Papers

ABB Placement Papers – 29 SEP 2008

Company: ABB Hi Friends 1. What would be the output of the following program. #include main() { extern int a; printf(“%d”,a);; } int a=20; (a) 20 (b) 0 (c) garbage value (d) error!! 2. What would be the output of the following program. main() { int a[5]={2,3}; printf(” %d %d %d”,a[2],a[3],a[4]); } (a) garbage value […]