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
Where we use clrscr in c?
What are global variables and explain how do you declare them?
What is meant by type casting?
What is indirection? How many levels of pointers can you have?
What is meant by keywords in c?
If fflush wont work, what can I use to flush input?
What is a union?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What are the advantages of union?
Why is this loop always executing once?
What is a void pointer in c?
Differentiate between functions getch() and getche().
What is getch?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Which programming language is best for getting job 2020?