Discussion :: Library Functions
-
scanf() or atoi() function can be used to convert a string like "436" in to integer.
Answer : Option A
Explanation :
scanf is a function that reads data with specified format from a given string stream source.
scanf("%d",&number);
atoi() convert string to integer.
var number;
number = atoi("string");
Be The First To Comment