#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
What are pointers? Why are they used?
Difference between macros and inline functions? Can a function be forced as inline?
Do you know null pointer?
What is main return c?
what is the function of pragma directive in c?
What is the use of define in c?
What is the use of getchar functions?
What is wild pointer in c?
What is use of #include in c?
Explain the properties of union. What is the size of a union variable
What is wild pointer in c with example?
Is c is a middle level language?
What is the significance of scope resolution operator?
Explain how can I write functions that take a variable number of arguments?
What is the difference between union and anonymous union?