chanellybaby
chanellybaby chanellybaby
  • 10-06-2016
  • Computers and Technology
contestada

7. Write a program in C to display the string "ARRAY" in the following format : A AR ARR ARRA ARRAY

Respuesta :

metchelle
metchelle metchelle
  • 12-06-2016
This program will the string array in the given format.

int main(void){
char arr[6];
int counter;
strcpy(arr[], "ARRAY");

for(counter=0; counter<6; counter++){
printf("%c", arr[counter]);
}

return 0;
)

Note: Do not forget to include all the necessary library that is needed to run this program.

Answer Link

Otras preguntas

sentence for indiscretion with the word in it?
how do u write 2.51 in word form and expanded form?
what would be he best way to measure the mass of a powdery solid
what is 32,879 rounded to the nearest thousand
how to say 204 in spanish
why is the caste system a central part of hindu religion
What is 194753 decreased by two thousand
Mr. Berriman bought 8 packages of dry erase markers m and 4 whiteboard erasers w for $72. Mr. Williams bought 12 of the same packages of dry erase markers m and
What is four hundred twenty times six
what was one effect of new british taxes on colonists?