Answer Posted / shruti
it can be done using linked list.
create a linked list as a stack..
while displaying
display reverse. :-)
i can write a code for u if u want..
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What are data types in c language?
Explain why c is faster than c++?
What are the types of unary operators?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
Why double pointer is used in c?
What is typedef?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is clrscr ()?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Explain what header files do I need in order to define the standard library functions I use?
What is an identifier?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is file in c preprocessor?