Library Functions - Programming

Q1:

scanf() or atoi() function can be used to convert a string like "436" in to integer.

A Yes

B No

ANS:A - Yes

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");