Posts by Dimitri • 11 points
1 post
-
1
votes3
answers45
viewsA: Pointer positioning
#include <stdio.h> #include <string.h> int main() { char *p, *p1, p2; char str[10]; fgets (str, 10, stdin); p=str; p1=str; while (*p1 != '\0') { p1++; } while (p < p1) { p2=*p;…