Consider the code:
#include <stdio.h>
int addsub(int, int);
void display(int);
void show(int, int);
int main() {
int i = 10, j = 20, k;
k = addsub(i, j);
printf("%d ", k);
display(i);
show(i, j);
return 0;
}
int addsub(int c, int d) {
int x, y;
x = c - d;
y = c + d;
return (x, y);
}
void display(int c, int d) {
printf("%d %d ", c, d);
}
void show(int c) {
printf("%d %d ", c);
}Which of the following is correct about above code?
(A) Error: function addsub
(B) Error: function display
(C) Error: function show
(D) None of the above