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

What is a prepositional phrase in the sentence? A. must stop (which i believe to be incorrect) B. eating my food C. pay me D. From the refrigerator
when wind drops its load of sand,it can form a hill called
In figure , a || e , m || n , and m 4 = 108 degrees What's m 5 ? ____ degrees
In "Honest Work," which best explains why the old smith carefully forges each link of the ship's chain? A. He believes the ship will be caught in a storm very
Which of the following groups of sentences most accurately describes the Cuban Missile Crisis? B?
what was Juan Ponce de Leon's goal?
A Gatorade cooler has 36 cups of water if a serving is three over four of a cup how many servings are in the cooler
If x can be any number, how many solutions are there for the equation? y = 4x – 1 A. There is no solution. B. There is only one solution. C. There are two s
In which quadrant do the x- and y-coordinates of a point have the same signs? Choose all answers that are correct. A. I B. II C. III D. IV
where above the earth are most clouds made of ice crystals