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
Explain about C function prototype?
What is the method to save data in stack data structure type?
Is malloc memset faster than calloc?
Are the outer parentheses in return statements really optional?
What is variable and explain rules to declare variable in c?
What are lookup tables in c?
How is a null pointer different from a dangling pointer?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
How are portions of a program disabled in demo versions?
What is a method in c?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Which of these functions is safer to use : fgets(), gets()? Why?
What is array in c with example?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1