#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
Explain what are header files and explain what are its uses in c programming?
What tq means in chat?
What is strcmp in c?
What are conditional operators in C?
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
Is main a keyword in c?
What are the 5 organizational structures?
Is it fine to write void main () or main () in c?
What is difference between stdio h and conio h?
What are reserved words with a programming language?
Why cant I open a file by its explicit path?
What are structures and unions? State differencves between them.
Can we declare variable anywhere in c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
Do you know what are the properties of union in c?