Name the function which is used to find the length of string
اس فنکشن کا نام بتائیں جو سٹرنگ کی لمبائی معلوم کرنے کے لیے استعمال ہوتا ہے۔
- slen
- length
- strlen()
- none
Explanation
The strlen() function in C is used to calculate the length of a string.
Note: strlen() calculates the length of a string up to, but not including, the terminating null character.
Return Value: The function returns the length of the string passed to it.
Related MCQs
ایشیائی ترقیاتی بینک کو کب قائم کیا گیا؟
- 1966
- 1964
- 1968
- 1960
اس سوال کو وضاحت کے ساتھ پڑھیں
مکڑی کی کتنی ٹانگیں ہوتی ہیں؟
- 6
- 8
- 10
- 7
اس سوال کو وضاحت کے ساتھ پڑھیں
کون مانتا ہے کہ خدا نہیں ہے؟
- Theists
- Agnostics
- Atheists
- Deists
اس سوال کو وضاحت کے ساتھ پڑھیں
دنیا کا تیز ترین سپر کمپیوٹر کون سا ہے؟
- Simorgah
- Fugaku
- Jiuzhang
- Frontier
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Leave a Reply
Your email address will not be published. Required fields are marked *