| 39 | } |
| 40 | |
| 41 | int isAlNum(char ch) { |
| 42 | //48-57 0-9 |
| 43 | //65-90 A-Z |
| 44 | //97-122 a -z |
| 45 | |
| 46 | if(((int)ch) >= 48 && ((int)ch) <= 57) { |
| 47 | return 1; |
| 48 | } |
| 49 | if(((int)ch) >= 65 && ((int)ch) <= 90) { |
| 50 | return 1; |
| 51 | } |
| 52 | if(((int)ch) >= 97 && ((int)ch) <= 122) { |
| 53 | return 1; |
| 54 | } |
| 55 | return 0; |
| 56 | } |
| 57 | |
| 58 | char* convertToPostFix(char* inputString, int size) { |
| 59 | int index = 0; |