MSQ · 1 mark · C Programming
GATE CS 2024 CS-2 — Q33
Consider the following C function definition.
int fX(char *a){
char *b = a;
while(*b)
b++;
return b - a;
}Which of the following statements is/are TRUE?
MSQ · 1 mark · C Programming
int fX(char *a){
char *b = a;
while(*b)
b++;
return b - a;
}