0

What is wrong with this codes

#include <stdio.h> int global; int main() { int local1=5; int local2=10; glodal=local1+local2; printf("%d\n",global); return 0; } { int local3=2,local4=3; global=local3+local4; printf("%d"global); return 0; }

26th Feb 2022, 4:01 PM
Lilart
Lilart - avatar
3 Answers
+ 4
change glodal to global (wrong its with "d")
26th Feb 2022, 6:22 PM
the ice
the ice - avatar