A

Admin • 802.91K Points
Coach

Q. What will be the output of the following C program?

Code:
#include <stdio.h>

int myFunc(int x){
return (--x);
}

int main(){
int a = myFunc(13);
printf("%d", a);
return 0;
}
  • (A) 13
  • (B) 12
  • (C) 14
  • (D) Error
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.