#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 kind of structure is a house?
Place the #include statement must be written in the program?
number of times a digit is present in a number
How can I recover the file name given an open stream or file descriptor?
How can I find the modification date of a file?
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
What is advantage of pointer in c?
How can a string be converted to a number?
Where define directive used?
What is meant by preprocessor in c?
When should a type cast not be used?
Explain what are global variables and explain how do you declare them?
Compare array data type to pointer data type
What are comments and how do you insert it in a C program?
What is p in text message?