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


Posted on by