c++ - what does ++operator do in this void uart_puts(unsigned char * t) { while(*t) uart_putch(*t++); -



c++ - what does ++operator do in this void uart_puts(unsigned char * t) { while(*t) uart_putch(*t++); -

what ++ operator in c program?

void uart_puts(unsigned char *t) { while (*t) uart_putch(*t++); //i cant understand operation here }

pointer arithmetic:

the sentence uart_putch(*t++) can discomposed in:

uart_putch(*t); // actual t unsigned char value t++; // increments t pointer next unsigned char

c++ c

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -