+ 6
Why is the output of this program : hello 0
#include <stdio.h> int main() { char str[100]; int i; scanf("%s %d", str, &i ); printf("%s %d", str, i); return 0; }
1 Answer
+ 3
you had to wrote "hello" in input box then it is printed + 0 returned by return statement.