What is the output of the following code? #include int fun(i…

What is the output of the following code? #include int fun(int *num){      return (*num)–;}int main(int argc, char* argv[]){      int num = 16;      for(fun(&num); fun(&num); fun(&num))            printf(“%d “, fun(&num));      return 0;}

What are the contents of array after this code?    6     int…

What are the contents of array after this code?    6     int array[ 6 ] = { 10, 20, 30, 40, 50, 60 };   7     int i;   8     for( i = 0; i < 6; i++ )   9     {  10         if( i % 2 == 1 )  11             *( array + i ) = 3;  12     }  13     *array = 100;