SubhanUllah Posted October 25, 2022 Report Posted October 25, 2022 Use array indices instead. int arr[5] = {11, 22, 33, 44, 55}; for (int i = 0; i < 5; i++) { printf(“arr[%d] = %d\n”, i, arr[i]); } 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.