62 548
Assignments Done
98,7%
Successfully Done
In June 2018

Answer to Question #22814 in C++ for Sujata Roy

Question #22814
Consider the following program segment

char*a, *b, c[10], d[10];
a = b; b = c; c = d; d = a;
choose the statements having errors
Answer options:
A. No error
B. a = b; and b = c;
C. c = d; and d = a;
D. a = b; and d = a;
Expert's answer
A. No error B. a = b; and b = c; C. c = d; and d = a; D. a = b; and d = a;
A has an error (because there are errors actually)
C has an error
D has an error

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 first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions