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 character set?
What is the advantage of c?
Write a program to print all permutations of a given string.
Explain can you assign a different address to an array tag?
Is c a great language, or what?
Explain the meaning of keyword 'extern' in a function declaration.
What are run-time errors?
What is the difference between Printf(..) and sprint(...) ?
What is the use of getchar() function?
What is s or c?
What are different types of variables in c?
How can I direct output to the printer?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
What is the stack in c?
Why is it that not all header files are declared in every C program?