What is the output of the following code?
#include stdio.h
void solve()
{
int first = 10, second = 30;
int third = first + second;
{
int third = second - first;
printf("%d ", third);
}
printf("%d", third);
}
int main()
{
solve();
return 0;
}

Posted on by