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

Every month, the bank withdraws $15 from Betsy’s checking account as a service fee. Betsy has budgeted $75 for the next few service fees. For how many months wi
Membrane-bound proteins that use metabolic energy to move ions across the plasma membrane are called
How could the U.S. Federal Reserve System curb some of the risk of economic instability?
Find the measures of the angles of a triangle whose angles have measures of x, x + 30, and x - 30. What kind of triangle is it?
The Star Spangled Banner was written during the defense of this place during the War of 1812.
Algebra 2 help!!!!!!
What is 12 x 12=?? Plz help me I'm smalll​
After the layers of sediment are deposited in one place, they are
hi um At the beach, differences in temperatures create wind which transfers heat between the land and the water. The same process is also seen in the ocean as
How can a number line help uou find two integers that are the same distance
good job