Question: Question 1 2 Consider there are two strings: char S 1 [ 6 ] = cat, S 2 [ 1 0 ] ; Which of

Question 12
Consider there are two strings:
char S1[6]= "cat", S2[10];
Which of the following will copy string S1 to S2?
S2=S1
S2[i]=S1[i]
, S 1)
strcpy(21,S2);
 Question 12 Consider there are two strings: char S1[6]= "cat", S2[10];

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!