Computer Science, asked by goturuchandana, 6 months ago

What will be output if you will execute following c code?
#include<stdio.h>
int sq(int);
int main() {
int a=1,x;
X=sq(++a)+sq(a++)+sq(a++);
printf("%d",x);
return 0;
}
int sq(int num){
return num* num;
}
A) 15
B)16
C)17.
D)18​

Answers

Answered by kritinshetty3
0

Answer:

dude whats this does this even makes sense??

Similar questions