Computer Science, asked by ruwaid973, 6 hours ago

Find the output of the below program:
#include <stdio.h>
int k = 0;
int func int a, int b)
{
k = a + (a + b)-k;
}
int main()
{
int a = 3, b = 1, c = 2;
c = func (b, a);
a = func (c, b);
b = func (a, c);
printf ("%d", k);
}​

Answers

Answered by akankshasurender
0

Answer:

output is 0

Explanation:

c=5

a=5

b=8

k = 0

Similar questions