You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidtest_print() {
put_str("call put_str in kernel\n");
}
intmain() {
test_print(); // work and return from here ?// all the followinng lines don't printtest_print();
test_print();
test_print();
test_print();
put_str("call put_str in kernel\n");
while(1);
}
but when write as declaration + definition, it works...
when calling function, only the first will work
but when write as declaration + definition, it works...
The text was updated successfully, but these errors were encountered: