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]); }
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now