Discussion :: Strings
-
For the following statements will arr[3] and ptr[3] fetch the same character?
char arr[] = "FresherGATE";
char *ptr = "FresherGATE";
Answer : Option A
Explanation :
Yes, both the statements prints the same character 'i'.
Be The First To Comment