A

Admin • 833K Points
Coach

Q. Which function converts a string to an integer in C?

  • (A) itoa()
  • (B) stoi()
  • (C) atoi()
  • (D) int()
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

atoi() converts ASCII strings to integer values.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.