#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(ā%dā ,a[i]);
}
Answer Posted / jayakrishna
here array a is declared but it is not initialised,but int
the printf we are printing values of array a[], so it
displays garbage values & cannot directly write i as
variable we must specify its type.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What's a good way to check for "close enough" floating-point equality?
Is this program statement valid? INT = 10.50;
Write a program to identify if a given binary tree is balanced or not.
What are the salient features of c languages?
Why structure is used in c?
Who is the main contributor in designing the c language after dennis ritchie?
How many parameters should a function have?
Why c language is called c?
Is there a way to jump out of a function or functions?
What do you mean by a local block?
What is header file definition?
When is a null pointer used?
write a program fibonacci series and palindrome program in c
When a c file is executed there are many files that are automatically opened what are they files?
What is quick sort in c?