Computer Science, asked by TbiaSupreme, 1 year ago

What will be the value of variable number2 after execution of following code?Choose the correct option from the given options.
int main(){
int number1 = 2, number2;
number2 = sqr(number1);
printf("number2 = %d",nurnber2);
return 0;
}
int sqr(int n){
return(n*n);
}//End of program
(a) number2 = 4
(b) number2 = 6
(c) number2 = 8
(d) number2 = l8

Answers

Answered by oncray258pdct3u
3
answer = no b ......
Similar questions