Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #107.84K
~141 People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for kaio-ken

The atoi() function converts the string pointed to by ptr to an int. [CODE] #include<iostream> #include<cstdlib> using namespace std; int main(void) { char q = '2'; cout << atoi("2") << endl; cout << atoi(&q) << endl; return 0; } [/CODE] result: 2 20

Member Avatar for pwl
0
141

The End.