write a program to print the one dimensional array.
#include<stdio.h>
#include<conio.h>
void main()
{
int
printf("enter how many no");
scanf("%d",&n);
//arrary input;
for(i=0;i<n;i++)
{
printf("Enter elements %d ",i+1);
scanf("%d",&a[i]);
}
//array output;
for(i=0;i<n;i++)
printf("output at position [%d]is=%d\n",i+1,a[i]);
getch();
}
| Is This Answer Correct ? | 3 Yes | 3 No |
What is the use of the function in c?
What is a static variable in c?
What language is c written?
Hi Every one......... Please Any body give me the answer for my question. Is it possible to print the word "PRINT F", without using printf() statement in C-Language.
/*what is the output for the code*/ void main() { int r; r=printf("naveen"); r=printf(); printf("%d",r); getch(); }
write a c/c++ programthat connects to a MYSQL server and checks if the INNoDB plug in is installed on it.If so your program should print the total number of disk writes by MYSQL.
Linked lists -- can you tell me how to check whether a linked list is circular?
What is the deal on sprintf_s return value?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What is void pointers in c?
const char * char * const What is the differnce between the above tow?.
what is the difference between declaration ,defenetion and initialization of a variable?