Answer Posted / antony
#include<stdio.h>
#include<conio.h>
void main()
{
int a[10],i;
for(i=1;i<=10;i++)//getting data from user
{
scanf("%d",&a[i]);
}
for(i=1;i<=10;i++)//print the data
{
printf("%d",a[i])
}
getch();
}
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is new line escape sequence?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Difference between Shallow copy and Deep copy?
Describe dynamic data structure in c programming language?
What is the use of putchar function?
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 array of pointers to string?
What is meant by inheritance?
How can I call a function with an argument list built up at run time?
What are the advantages of using linked list for tree construction?
How do you redirect a standard stream?
Explain about block scope in c?
What is the use of getchar() function?
What are the advantages and disadvantages of c language?
What is the basic structure of c?