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
please send me the code for multiplying sparse matrix using c
Describe dynamic data structure in c programming language?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
Why is c still so popular?
What are the functions to open and close the file in c language?
What is the use of pragma in embedded c?
Write a program to reverse a given number in c?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What is the basic structure of c?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
Explain union. What are its advantages?
What happens if header file is included twice?
difference between object file and executable file