MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? const char str1[] = "abcdef"; const char str2[] = "fgha"; char *mat; mat= strpbrk(str1, str2); if(mat) printf("First matching character: %c n", *mat); else printf("Character not found"); |
| A. | g |
| B. | a |
| C. | h |
| D. | f |
| Answer» E. | |