aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
Multiple choice

Which of the following string functions is used to compare first n characters of the given two strings?

  1. strncmp()

  2. strcmp()

  3. strcpy()

  4. strlen()

  5. strlwr()

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

This string function is used to compare first n characters of the given two string.

Keep practicing — related questions

  • The function definition of the statement “A function called process accepts an integer and two floating poi...
  • Give output of the following, if the input given is 'a'. cin>>choice; switch(choice) { case ' b' :cout<< ba...
  • Which one of the following statements is incorrect about friend functions?
  • Directions: For this question, select the best of the answer choices given. In an attempt to promote the wi...
  • Directions: For this question, select the best of the answer choices given. Damaged nerves in the spinal co...
  • Which of the following terms NOT used in Banking Sector?
  • Which of the following airlines became the first Indian Based Airlines to operate flight to China?
  • Which of the following awards is given in the field of cinema?
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy