Question:
Can anyone help me write this in C code?
geekguy
2008-04-17 00:44:13 UTC
a) Declare an array of 25 integers.

b) Write a line of C code that will print out the value of the 10th item in the array you declared in a).



c) Write C code that will print out every item in the array, in its order in the array (i.e. by index number), in 5 lines of 5 items each.
Three answers:
Preity
2008-04-17 00:56:26 UTC
take help from an expert

http://homework.teamtutorial.com/
rananisar266
2008-04-17 08:00:48 UTC
#include

#include

void main()

{

int arr[25];

clrscr();

//assign value to 10th item as

arr[10]=25;

printf("%d",arr[10]);

getch();

}
2008-04-17 07:52:56 UTC
a) int a[25];


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...