Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 What will be the output of the program ? #include<stdio.h> #include<string.h> int main() { printf("%d\n", strlen("123456")); return 0; } ?->(Show Answer!)
1. What will be the output of the program ? #include<stdio.h> #include<string.h> int main() { printf("%d\n", strlen("123456")); return 0; }
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.02 pm
The function strlen returns the number of characters in the given string. Therefore, strlen("123456") returns 6. Hence the output of the program is "6".