This repository has been archived on 2025-12-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-09-20 14:17:13 +03:00

20 lines
275 B
C

#include <stdio.h>
int main(void) {
char str[] = "I love C language";
char *ptr;
//int index = 0;
ptr = str;
while (*ptr != '\0') {
printf("%c - %p \n", *ptr, ptr);
//index++;
ptr++;
}
return(0);
}
// what is &*ptr ??