radomes.openskiesproject.org
chanellybaby
chanellybaby chanellybaby
  • 09-06-2016
  • Computers and Technology
Answered

  1. Write a program in C to display the string "ARRAY" in the following format : A AR ARR ARRA ARRAY

Verified Answer :

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

Related Questions

effects of cheating on examinations tests essays and assignments whether at primary secondary or higher learning institutions level In their findings they list
25 of 450 millimeters
Help
In Hard Times by Charles Dickens Mr Gradgrinds comparison of people to reasoning animals shows that he A Believes that students cannot be well trained B Has a f
What is the mean of the set 90 82 88 78 93
In the acute phase of management of posttraumatic headaches narcotic analgesics are recommended A True B False
What are spatial divisions in the region in which you live and why do they exist
Why was President Hoover against repealing Prohibition a He feared people would use alcohol to escape economic woes b He believed that alcohol should be made le
Which are examples of family stressors that require family members to adjust their interactions with one another remarriage substance abuse financial problems d
If an atom contains more electrons than protons it is a action an anion or electrically neutral