Hi,
I have this code:
I know this isn't right, so how do you make it right without having to change much of the concept? I simplified it from a more tedious code. Thanks in advance.Code:int main() { int a = 1; test(); return a; } void test() { int b; int c = 4; b = c + a; }