I need help this is a sample code my instructor gave me and I get an error saying there should be a terminator somewhere in the line wherein "for(i=0; x=2; i<3; i++; x-- )" is in place. If I'm wrong please correct me.
Anyways here's what my instructor needs.
Using array of pointers to pointers write a program that will prompt the use for a string of characters and the program should output the reverse order of the user's info.
BTW: the code below does not prompt the user it only outputs an example I just need help figuring it out. THANKS . ^_^
The problem is that on line 18 you have more than three "parts"; you may want use the comma operator (,) to separate portions of, say, the increment part (e.g. i++, x--).
well.. @yanson that's what's written above. it returns with an error. anyways I think the code is absolutely wrong and that it's just a reference
so can anybody help me with this..
"Using array of pointers to pointers write a program that will prompt the use for a string of characters and the program should output the reverse order of the user's info."