#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(ā€œ%dā€ ,a[i]);
}

Answer Posted / kalyan chukka

Here it shows i is undefined Symbol.So if declare i as
integer then it prints some garbage value Because Array is
declared but elements are not inserted into the array.So
garbage value is printed on the console

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program of advanced Fibonacci series.

706


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

611


In which layer of the network datastructure format change is done

1432


How can you determine the maximum value that a numeric variable can hold?

638


How many keywords are there in c?

588






how can use subset in c program and give more example

1497


Explain how can type-insensitive macros be created?

570


Do pointers need to be initialized?

558


Why is c faster?

592


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2118


What is difference between structure and union in c?

544


What is a rvalue?

747


What is volatile c?

522


What is difference between class and structure?

570


Explain what will the preprocessor do for a program?

596