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

Find The Slope && Y-Intercept Of The Graph ...Y = 6x + 11
Find The Slope && Y-Intercept Of The Graph ...Y = 6x + 11
Find The Slope && Y-Intercept Of The Graph ...Y = 6x + 11
what three parts make up a single nucleotide
Find The Slope && Y-Intercept Of The Graph ...Y = 6x + 11
Find The Slope && Y-Intercept Of The Graph ...Y = 6x + 11
what three parts make up a single nucleotide
what three parts make up a single nucleotide
what three parts make up a single nucleotide
Find The Slope && Y-Intercept Of The Graph ...Y = 6x + 11