Assalam-o-alekum:
mjhe c program k lye ek help chahye k ek aisa program ho jo 10 strings array mai store krvaye or phr use print krvade
plz help me...
This is a discussion on simple c program help within the C-Sharp (C# or C♯) forums, part of the Courses category; Assalam-o-alekum: mjhe c program k lye ek help chahye k ek aisa program ho jo 10 strings array mai store ...
Assalam-o-alekum:
mjhe c program k lye ek help chahye k ek aisa program ho jo 10 strings array mai store krvaye or phr use print krvade
plz help me...
#include<stdio.h>
#include<conio.h>
int main(){
int i,j,arr[10];
printf("Enter Elements in Array: ");
for(i=0;i<10;i++)
{
scanf("%d", arr[i]);
}
printf("hello");
for(j=0;j<10;j++)
{
printf("%d", arr[i]);
}
getch();
return 0;
}
Compiler Used: Dev C++
Last edited by irti92; 31st January 2012 at 03:12 AM.
nice
Bookmarks