which types of data structure will i use to convert infix to
post fix???

Answer Posted / vikram

stack is used

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between new and malloc functions?

574


Write a Program to find whether the given number or string is palindrome.

607


What is difference between && and & in c?

580


What is difference between far and near pointers?

604


What is difference between constant pointer and constant variable?

624






What functions are in conio h?

652


Explain what is the use of a semicolon (;) at the end of every program statement?

728


Which one would you prefer - a macro or a function?

598


What is #define used for in c?

609


Can a variable be both const and volatile?

667


What is null pointer in c?

589


A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?

1508


What is boolean in c?

603


What is the difference between int main and void main?

569


Explain the use of 'auto' keyword in c programming?

677