Interview Questions and Answers :: Juniper Network
Home > Experience Archives > Juniper Network > Interview Question Set 3 > Discussion
6. char *str1;
char *str2;
char *str3 = NULL;
char *str4 = NULL;
char str5[10];
char str6[10]="abc";
Mark appropriate for the below operation [Compile time | Run time | Valid Statement]
str1 = "xyz";
strcpy(str2, "xyz");
str3 = "xyz";
strcpy(str4, "xyz");
str5 = "xyz";
strcpy(str6, "xyz");
Answer:
No Discussion on this question yet!
No Discussion on this question yet!