About atoi()

Discussion in 'C' started by moonw3ll, Aug 28, 2010.

  1. moonw3ll

    moonw3ll New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Will atoi() convert the convertible characters in a string? I mean, in this problem,
    post[20]="822*/3+2", if i write atoi(post), will it convert the numerical characters to int? And how about the operators?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice