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 the meaning of ?
Can the sizeof operator be used to tell the size of an array passed to a function?
What is the purpose of macro in C language?
Can we declare variable anywhere in c?
Why do we use null pointer?
What is the mean of function?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
What is %s and %d in c?
What is #define size in c?
Why is a semicolon (;) put at the end of every program statement?
What are the loops in c?
Differentiate between ordinary variable and pointer in c.
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What are high level languages like C and FORTRAN also known as?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above