Question: char s 1 [ ] = John Doe;char s 2 [ ] = John Doe; if ( s 1 = = s 2 ) .

char s1[]= "John Doe";char s2[]= "John Doe"; if (s1== s2)... Would this IF statement condition evaluate to true or to false ?

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!