Interview Questions and Answers :: Juniper Network
Home > Experience Archives > Juniper Network > Interview Question Set 3 > Discussion
7. What will be the Output/Error for the below pseudo code:
char *str2 = NULL;
char *str1[] = "ab";
char *str = "abcde";
printf("%d", sizeof (str));
printf("%d", strlen(str));
printf("%d", sizeof (str1));
printf("%d", strlen(str1));
printf("%d", sizeof (str2));
printf("%d", strlen(str));
Answer:
No Discussion on this question yet!
No Discussion on this question yet!