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

Answer Posted / purnima

it gives compile time error because here the var i is not
declared .aIn c a var must be declared before is usage

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are header files and explain what are its uses in c programming?

626


What tq means in chat?

579


What is strcmp in c?

595


What are conditional operators in C?

621


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

1461






Is main a keyword in c?

630


What are the 5 organizational structures?

569


Is it fine to write void main () or main () in c?

545


What is difference between stdio h and conio h?

884


What are reserved words with a programming language?

601


Why cant I open a file by its explicit path?

593


What are structures and unions? State differencves between them.

614


Can we declare variable anywhere in c?

534


Function calling procedures? and their differences? Why should one go for Call by Reference?

631


Do you know what are the properties of union in c?

582