Question: A C program contains the following declarations: char c = s ; char * str 1 = dragon ; char * str 2 = fly
A C program contains the following declarations:
char c s;
char strdragon;
char strfly;
The following lines appear next in the program. Describe the effect of each
line. Explain your reasoning clearly in each case.
strb;
str c;
str;
strr;
printfs
str;
strcpystrstr;
printfs
str;
printfs
str;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
