Question: C Programming Assume: char s1[] = Boston; What is output at the following printf statement: printf (The length of s1 is %i., strlen(s1) ); a.

C Programming

Assume:

char s1[] = Boston;

What is output at the following printf statement:

printf (The length of s1 is %i.", strlen(s1) );

a.

The length of s1 is 5.

b.

The length of s1 is 6.

c.

The length of s1 is 7.

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 Databases Questions!