Question: ake a look at the following code fragment: char str 1 [ 8 0 ] ; / * A place to store a string *

ake a look at the following code fragment:
char str1[80]; /* A place to store a string */
scanf(%s, str1); /* Grab a string from the user */
Then the user types: No Way Jose! and then hits [Enter].
Question: What will be stored in the array str1?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!