Home > Back-end >  Consult the predecessors of type conversion problem here
Consult the predecessors of type conversion problem here

Time:12-21

Foreword:
Void * LinkStack_Top (LinkStack * stack);//this function is to read the top element
Int LinkStack_Push (LinkStack * stack, void * item).//this function is to store elements into the stack
The transform (" 9 + (3, 1) * 5 + 8/2 ");//tranform (); "9 + function parameter is a string (3-1) * 5 + 8/2"
The transform is a function of the characters of stack processing,
Question:
The eldest brother, the exp [I] is char types, why need to type int, when stack also wants when the stack into the int type what is the purpose of doing that? I know 1 byte, char is int is 4 bytes, why need to do this? Seems not so well as can be, I feel I am not really, but I don't understand in the mind again uncomfortable

  • Related