mplementation of stack using any programing language
Answer / aravind
1. stack as an array or linked list (two ways)
2.define array.
3.perform push operation by taking one more array.
4.perform pop and store the popped items
5.display function to print the popped values
6.make sure you reach LIFO
Is This Answer Correct ? | 3 Yes | 3 No |
What are the general description for loop statement and available loop types in c?
Where in memory are my variables stored?
what is an inline function?
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
Explain how can I prevent another program from modifying part of a file that I am modifying?
What is getch () for?
If input is 123 then how to print 100 and 20 and 3 seperately?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Write a programm such that if user enter 11.25 it roundup to 11 but if user enter 11.51 upto 11.99 it will round up to 12 i.e.;convert the floting point value into integer format as explain above..
how to find greatet of 10 numbers without using array?
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
How to print "Hi World" without using semi colon?