#include <stdio.h>
int fun

Loading

โœช Choose the correct option.

#include 
int fun(char *str1)
{
char *str2 = str1;
while(*++str1);
return (str1-str2);
}

int main()
{
char *str = "CrackExams";
printf("%d", fun(str));
return 0;
}

A. 8
B. 9
C. 10
D. None of the above

Leave a Comment