From 0112303aa5489a736f55ae637bc43241f4bd06fc Mon Sep 17 00:00:00 2001 From: fadhil riyanto Date: Sun, 6 Oct 2024 09:16:10 +0700 Subject: test charptr Signed-off-by: fadhil riyanto --- test/ch.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/ch.c 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 + +int main() +{ + char data[] = "abcdefg"; + + *data = *data + 1; + + printf("%s\n", data); +} \ No newline at end of file -- cgit v1.2.3