c++ - What is wrong with this code in string reversal? -


I get the error mentioned below in the following section of the code. Please tell me why * p = t returns an error here

  zero reverse (four * p) {int length = strlen (p); Int c = 0, i = length / 2; Char * Temp = p + length-1, t; While (c & lt; length) {t = * temp; * Temp = * p * p = t; // incorrectly in error, why is there a typed four * // line in the correct operator? C ++; Temp--; A semi-colon is missing:  
    

T = * Temporary; * Temp = * p; // - Here * p = t;

Comments

Popular posts from this blog

wpf - ControlTemplate with changes for every class -

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

sql - Return Function using Cursor -