String to integer | Sololearn: Learn to code for FREE!


String to integer

How can we convert string to integer?


5/17/2018 6:11:26 PM


3 Answers

New Answer


itoa () function in C language converts int data type to string data type. Syntax for this function is given below.


Been added last week, you may check this lesson:


atoi convert from string to int (reverse of itoa)