SubhanUllah Posted October 27, 2022 Report Posted October 27, 2022 int x[] = {1,2,3,4}; void print(int *arr, size_t n) { for (size_t i = 0; i < n; i++) { printf(“%d\n”); } } print(x, 4); 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.