strlen() returns the length of the string on success and . . . . if the string is empty.
A.-1
B.NULL
C.Garbage value
D.0
Answers
Answered by
0
✔✔✔✔
⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵ ıllıllıllıllıllıllııllıllıllıllıllıllııllıllıllıllıllıllı
_______________________
↪ -
D . 0✔✔
If the first character happens to be '\0', then you have an empty string.
This is what you should do:
do
{ /* * Resetting first character before getting input.
*/ url[0] = '\0';
// code }
while (url[0] != '\0');
_______________________ ıllıllıllıllıllıllııllıllıllıllıllıllııllıllıllıllıllıllı
Answer - By Choudhary21
⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵⤵ ıllıllıllıllıllıllııllıllıllıllıllıllııllıllıllıllıllıllı
_______________________
↪ -
D . 0✔✔
If the first character happens to be '\0', then you have an empty string.
This is what you should do:
do
{ /* * Resetting first character before getting input.
*/ url[0] = '\0';
// code }
while (url[0] != '\0');
_______________________ ıllıllıllıllıllıllııllıllıllıllıllıllııllıllıllıllıllıllı
Answer - By Choudhary21
Answered by
1
heya!!
here is your answer⬇️⬇️
option D is the answer
hope my answer helps you
here is your answer⬇️⬇️
option D is the answer
hope my answer helps you
Similar questions
Science,
6 months ago
Computer Science,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Science,
1 year ago
Science,
1 year ago