how to impliment 2 or more stacks in a single dimensional
array ?
Answer / sakthigurunathan
to implement two stacks in a single array consider two
stacks growing towards each other and take tos1=-1
andtos2=max as empty condition and for full condition take
tos1=tos2-1 and to insert take push1 tos1++
and for push2 tos--
| Is This Answer Correct ? | 36 Yes | 9 No |
can you explain in brief what is "r+" mode in a file... i know that it si used to read and modify rhe existing content.... but explalanation about the file pointer in "r+" mode i wann to know???????????
Are there namespaces in c?
how will you write a program on linked lists using JAVA programming???????????
write a string copy function routine?
`write a program to display the recomended action depends on a color of trafic light using nested if statments
What is hashing in c?
WHAT IS LOW LEVEL LANGUAGE?
What is sparse file?
What is pointer to pointer in c with example?
What is logical error?
Write the syntax and purpose of a switch statement in C.
What are the different types of objects used in c?