NCO- Cyber Olympiad (SOF) Class 12: Questions 258 - 261 of 520

Access detailed explanations (illustrated with images and videos) to 520 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. Subscription can be renewed yearly absolutely FREE! View Sample Explanation or View Features.

Rs. 350.00 or

How to register?

Question number: 258

» Computer » Programming in C++

Edit
MCQ▾

Question

Which of the following Options is CORRECT to find the Length of a String in ?

Choices

Choice (4) Response

a.

  1. int Xstrlen (char *S)
  2. {
  3.     int length = 0;
  4.     while (*S!= ‘