SubhanUllah Posted October 8, 2022 Report Posted October 8, 2022 Sure, like this: #include <stdio.h> int main() { char *a = "Gdkkn\37vnqkc"; for (int i = 0; i < strlen(a); i++) printf("%c", *(a + i) + 1); } The a is an array. Its elements are accessed without indexes. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.