#include<stdio.h>
void main()
{
int a [5];
for (i=0; i<=4; i++)
printf(ā€œ%dā€ ,a[i]);
}

Answer Posted / tanvi jain

as i is not yet declared,so give an error.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sizeof array?

609


What are keywords c?

599


How do you determine the length of a string value that was stored in a variable?

649


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2335


What is mean by data types in c?

551






What are void pointers in c?

574


What is the difference between null pointer and wild pointer?

633


When should the register modifier be used? Does it really help?

611


What is the function of multilevel pointer in c?

669


Define C in your own Language.

637


Process by which one bit pattern in to another by bit wise operation is?

615


How can I determine whether a machines byte order is big-endian or little-endian?

617


Why c is called a mid level programming language?

602


What is the general form of a C program?

596


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

611