Answer Posted / shrish cahndra tripathi
#include<sotdio.h>
#include<conio.h>
void main()
{
int a[5];
int b=1;
while b<5;
printf("/n enter value of a1");
scanf("%d",a0);
printf("/n enter value of a1");
scanf("%d",a1);
printf("/n enter value of a1");
scanf("%d",a2);
printf("/n enter value of a1");
scanf("%d",a3);
printf("/n enter value of a1");
scanf("%d",a4);
printf("/n values are :- %d, %d, %d, %d, %d"a[i]);
getch();
clrscr();
}
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Explain b+ tree?
How can you avoid including a header more than once?
Write a program to check whether a number is prime or not using c?
What are header files? What are their uses?
When is a null pointer used?
What are the rules for identifiers in c?
how can use subset in c program and give more example
Explain the use of 'auto' keyword in c programming?
what is the difference between 123 and 0123 in c?
Where static variables are stored in c?
What is the use of a conditional inclusion statement in C?
What is the difference between int main and void main in c?
What is a void * in c?
Sir i need notes for structure,functions,pointers in c language can you help me please