answersLogoWhite

0

poooda

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Code palindrome in c using queue and stuck?

/** C Program to Check String is Palindrome using Stack.*/#include #include void push(char);char pop();char stack[100];int top = -1;void main(){char str[100];int i, count = 0, len;printf("Enter string to check it is palindrome or not : ");scanf("%s", str);len = strlen(str);for (i = 0; i < len; i++){push(str[i]);}for (i = 0; i < len; i++){if (str[i] == pop())count++;}if (count == len)printf("%s is a Palindrome string\n", str);elseprintf("%s is not a palindrome string\n", str);}/* Function to push character into stack */void push(char c){stack[++top] = c;}/* Function to pop the top character from stack */char pop(){return(stack[top--]);}


Stack c language program of palindrome?

what ever you assume


How can a stack determine if a string is a palindrome?

foreach char in string push on to stack create new string foreach char in string pop off and add to end of new string if new string equals old string palindrome else not palindrome //when you pop off the stack, the characters come off in reverse order, thus you have reversed the original string


What is the cheat code for block stack?

i


How can footstool be considered a Palindrome?

in morse code


What is the palindrome that indicates a cry for help?

SOS, the international Morse code distress signal, is a palindrome.


What is the code for level 6 in cartoon hero?

palindrome


What is the lexicographically smallest palindrome that can be formed using the letters in the keyword "keyword"?

The lexicographically smallest palindrome that can be formed using the letters in the keyword &quot;keyword&quot; is &quot;deed.&quot;


What is the toilet venting code for distance from stack?

Which code ? there are several out there


How do fixed a stack overflow at line 203?

Allocate more memory to the stack or write code that does not leave stuff on the stack.


What is a palindrome for detection system using radar waves?

&quot;Radar detection system: madam rotor&quot; is a palindrome for detection system using radar waves.


What is a sentence using the word palindrome?

The phrase "Madam I'm Adam" is a palindrome, because it reads the same forwards as it does backwards.