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

Factoring trinomials word problems.
The battles in the revolutionary war and the blanks aren't filled.
The numerous post-war uprisings in which nationalists attempted to overthrow colonial rulers or oppressive regimes in the name of national sovereignty were know
Solve- 3y - 7 =8     I cannot figure this out!!! I have no idea how to do this either. ?.. help?!
Solve- 3y - 7 =8     I cannot figure this out!!! I have no idea how to do this either. ?.. help?!
Behavioral Adaptations: Behavior that animals begin life with that helps them meet their needs is called ________.
Justin and Austin decide to play catch after school. they start at the Same point. Justin walks 50feet north and 20,feet west. Austin walks 40 feet south and 10
How do you find the total surface area of a 3-D composite figure? Do you subtract one base from one of the figures or both of its bases?
HELP ME WITH This page?!?
The numerous post-war uprisings in which nationalists attempted to overthrow colonial rulers or oppressive regimes in the name of national sovereignty were know