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

+1

String to integer

How can we convert string to integer?

c

5/17/2018 6:11:26 PM

yalda_student

3 Answers

New Answer

+6

itoa () function in C language converts int data type to string data type. Syntax for this function is given below. https://fresh2refresh.com/c-programming/c-type-casting/c-itoa-function/

+5

Been added last week, you may check this lesson: https://www.sololearn.com/learn/8146/?ref=app

+2

atoi convert from string to int (reverse of itoa)