#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 the main characteristics of c language describe the structure of ac program?
What are global variables and explain how do you declare them?
Can the sizeof operator be used to tell the size of an array passed to a function?
Explain what is the use of a semicolon (;) at the end of every program statement?
Define macros.
to find the closest pair
Does c have enums?
What is the acronym for ansi?
write a program to concatenation the string using switch case?
What is a structure and why it is used?
What is the data segment that is followed by c?
What is a method in c?
What are bitwise shift operators in c programming?
When should the register modifier be used? Does it really help?
What is the difference between int main and void main?