1.

Which of the following is the correct output for the program given below?
#include<stdio.h>
int main ( )
{
int fun (int);
int k = fun (20);
printf ("%d n" , --k) ;
return 0 ;
}

int fun (int i)
{
return (k++) ;
}

A. 19
B. 20
C. 21
D. 18
Answer» B. 20


Discussion

No Comment Found

Related MCQs