Question: #include int a=10,b=10; int sum(){ } consider the code below: int return a+b; main() { static int i = sum(); printf( value of i=
#include int a=10,b=10; int sum(){ } consider the code below: int return a+b; main() { static int i = sum(); printf(" value of i= %d", i); return 0; } Please explain what will be the output of this program, and support your answer by explaining the reason behind it.
Step by Step Solution
There are 3 Steps involved in it
The code you provided is a C program that consists of two functions sum and main Lets walk through t... View full answer
Get step-by-step solutions from verified subject matter experts
