Garbage Value
Login
Sign Up
Chapter - 10: Strings
If the string "Alice in wonder land" is fed to the following scanf( ) statement, what will be the contents of the arrays str1, str2, str3 and str4? scanf("%s%s%s%s", str1, str2, str3, str4);
D
Sections
2
Exercises
A
B
C
D
E
F
1
2
3
4
5
6
7
Ans:
str1 : Alice
str2 : in
str3 : wonder
str4 : land
© 2021 Garbage Value