#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
Write the Program to reverse a string using pointers.
Write the control statements in C language
Explain what is the general form of a c program?
Who is the main contributor in designing the c language after dennis ritchie?
What is the significance of an algorithm to C programming?
What's the total generic pointer type?
How to draw the flowchart for structure programs?
write a program to create a sparse matrix using dynamic memory allocation.
What are enumerated types?
Define the scope of static variables.
How do you sort filenames in a directory?
What is an identifier?
Write a program with dynamically allocation of variable.
What is the size of structure in c?
What is wrong with this code?