diff options
author | fadhil riyanto <me@fadev.org> | 2024-10-06 09:16:10 +0700 |
---|---|---|
committer | fadhil riyanto <me@fadev.org> | 2024-10-06 09:16:10 +0700 |
commit | 0112303aa5489a736f55ae637bc43241f4bd06fc (patch) | |
tree | 224069c73778c733d3d40ff7b065b5b433437344 | |
parent | 3f570bb384af3822a2f551fe442528b476ecf438 (diff) |
test charptr
Signed-off-by: fadhil riyanto <me@fadev.org>
-rw-r--r-- | test/ch.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ch.c b/test/ch.c new file mode 100644 index 0000000..0dfedad --- /dev/null +++ b/test/ch.c @@ -0,0 +1,10 @@ +#include <stdio.h> + +int main() +{ + char data[] = "abcdefg"; + + *data = *data + 1; + + printf("%s\n", data); +}
\ No newline at end of file |