A
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;
}
int myFunc(int x){
return (--x);
}
int main(){
int a = myFunc(13);
printf("%d", a);
return 0;
}
- Correct Answer - Option(B)
- Views: 7
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.