+ 7
Predict the output of following program? #include "stdio.h" int main() { char arr[100]; printf("%d", scanf("%s", arr));
Suppose entered string is Raj Kalash Tiwari.......
4 odpowiedzi
+ 1
See what is returned by scanf,
https://www.cplusplus.com/reference/cstdio/scanf/
So the output should be 1
+ 3
Becuase it is a c program........
0
No need to wonder ...
Go to Code Playground, make new C code, paste the text, run
Voila!
0
There is a mistake that you didn't write the tag.