#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
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
What is console in c language?
When should I declare a function?
What is meant by keywords in c?
What is pointer to pointer in c?
What is call by value in c?
What is the use of header?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
What is the use of header files?
What is difference between main and void main?
Why is it usually a bad idea to use gets()? Suggest a workaround.
Explain what is the heap?
What is the advantage of a random access file?
What is operator precedence?
What is a node in c?