Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren+ 1
What is pointer arithmetic in c?
2 Antworten
+ 3
char *p = "string";
*p is 's'
*(p + 1) is 't'
+ 1
Pointer arithmetic is nothing but the normal arithmetic of the pointer addresses.