3:04 l 4G Test 10/25 84:30 Answer Card 10.#include <stdio.h> #define N 8 void fun(int a[ ], int m, { int i; for(i=m; i<=n; i++) a++; } beint ) 14 int main() { 191851144 7191861144 int i, a[N]={1, 2, 3, 4, 5, 6, 7, 8}; fun(a, 2, 6); for(i=0; i<N; i++) 1918 printf("%d", Li]); 44 return 0; } This program will display A 1 2 3 4 5 6 7 8 B 1 2 4 5 6 7 8 8 Last question Next question
3:04 4G Test 10/25 C 84:25 Answer Card } int main() { to 191861744 191861144 int i, a[N]={1, 2, 3, 4, 5, 6, 7, 8}; fun(a, 2, 6); for(i=0; i<N; i++) printf("%d ", a); return 0; ÉT1921; 44 } This program will display A 1 2 3 4 5 6 7 8 B 12 4 5 6 7 8 8 C 2 3 4 5 6 7 8 9 D 12 4 5 6 7 8 9 Last question Next question
3:04 l 4G Test 10/25 84:30 Answer Card 10.#include #define N 8 void fun(int a[ ], int m, { int i; for(i=m; i<=
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
3:04 l 4G Test 10/25 84:30 Answer Card 10.#include #define N 8 void fun(int a[ ], int m, { int i; for(i=m; i<=
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!