how to implement stack work as a queue?
Answers were Sorted based on User's Feedback
Why is it important to memset a variable, immediately after allocating memory to it ?
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
how can i print "hello"
Difference between for loop and while loop?
array of pointer pointer to array pointer to pointer
convert 0.9375 to binary
Where are the auto variables stored?
What is a scope resolution operator in c?
write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?
what is the difference between char * const and const char *?
i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }
What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }