+ 1
Plz explain me
3 Answers
+ 1
thx
+ 1
so if I write
++*p--
then there should be print
J insted of H
may I write??
0
char str[]="Ibqqz!Cjsuiebz!WBJCIBWJ",*p;
p=str;
while(*p!='\0') // a cpp string always ends with a nul char
// nul char is a char with the value of 0
--*p++; // * has precedence over -- and ++, then -- and ++ are processed from left to right
// 1. *p is processed so it looks at the str[0] == 'I'
// then *p is decremented to 'H'
// then p (the pointer increments to the next address