Question: This uses C and I cant get it to work please help me I have less than 2 hours What is the output of the

This uses C and I cant get it to work please helpme I have less than 2 hours What is the output ofThis uses C and I cant get it to work please help me I have less than 2 hours

What is the output of the following code? #include int fun(int *num) { return (*num)-- } int main(int argc, chart argv[]) { int num = 16, for(fun(&num); fun(&num); fun(&num)) printf("%d", fun(&num)); return 0; } 0 14 11 852 O 13 10 7 41 O Infinite loop O 15 12 963 What is the output of the following code? #include void fun( int*, int*); int main( int arge, chart argv[] ) { int i=5, j=2; fun&i, &j); printf("&d, ed", i, j); return 0; } void fun ( int *i, int *j) { *i = *i**i; *j = * * *j; } O 25,4 O 4,25 O 10,4 O 5,2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!