T

Team MCQ Buddy • 20.45K Points
Instructor III

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

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.


Question analytics