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

The New Jersey and Virginia plans of the 1780 were each ment to A) draft a peace treaty with the British B) draft a plan for independence from Britian C) crea
Which best explains how the viewpoint in the Greenberg interview differed from that in the informational text on Thurgood Marshall? A) The Greenberg article sh
Dont get this help number 2
(Worth 15 Points) Can ocean currents be caused by differences in water temperature? (Please explain answer)
help plz really inportant
Find an equation for the nth term of the sequence. -2, -8, -32, -128, ...
The proposed State of Sequoyah was named after the Cherokee who
PLEASE HELP ME- WILL GIVE 16 POINTS AND BRAINLIEST ANSWER Why did Soviet leader Mikhail Gorbachev introduce economic and political reforms? A. to establish his
List two effects of the Lewis and Clark Expedition.
I want someone explain me please