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

Which weighs more: Domestic Turkey or Wild Turkey?
City in Germany; it's name sounds like a popular picnic food.
What is 2.0124 rounded to the nearest thousandths?
What caused Columbus to think he reached Asia?
a certain hurricane travels at 20.88 kilometers per hour. the distance from Cuba to key west is 145 kilometers.write and solve an multiplication equation to fi
•the total amount paid for the initial deposit and 6 months of rent is the same at all three apartment complex, $5150 •the initial deposit for apartment C is $
what word matches this a very messy or slovenly person
Companies from the United States have built many factories in Mexico near the border. Why have so many U.S. factories moved to Mexico? The mild temperatures spe
if the product of 485 X 35 is 16,975, what is the product of 485 X 3.5? how do you know?
Why did the Egyptians call their king pharaoh? A. The Egyptians borrowed the title from the Sumerians. B. The king wore the Double Crown of Egypt, and the word