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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -