Error in char[i++]
Posted: Sat Aug 15, 2015 1:15 am
Hello,
i have a char[] with 6 items and a reference (from a function call) variable i:
charArray[6] => "*root*"
this does not work :
this does work :
Best reagrds,
Uwe
i have a char[] with 6 items and a reference (from a function call) variable i:
charArray[6] => "*root*"
this does not work :
Code: Select all
char c = charArray[i++];
this does work :
Code: Select all
char c = charArray[i];
i++;
Best reagrds,
Uwe