Answer to Question #182017 in Programming & Computer Science for wea

Question #182017

The following code should get the first character of the first name, middle name , and name, then return print them However, fill the missing code to run correctly


int main(){

 char Name [3] [8]={"Mohd" , "Ashraf", "Zoghoul"; }

 char initials [4] ; int i=0;

 initials [0]________;

 initials [1]________;

 initials [2]________;

 initials [3]=' \0'________;

 cout << initials;

 return 0;}


a.Name[0][++i] 

b.Name[++i][0] 

c.Name[0][++i] 

d.Name[i++][0]


1
Expert's answer
2021-04-19T14:35:40-0400
Dear wea, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS