Answer Posted / pavan kumar b n
By making use of stack data structure.... i.e., first push
all the numbers and then pop them .. since stack is LIFO
order , the numbers get reversed....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain high-order bytes.
How can I pad a string to a known length?
What is const volatile variable in c?
Does free set pointer to null?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
Write a program to print fibonacci series without using recursion?
What are the two types of structure?
What is scope of variable in c?
What is difference between function overloading and operator overloading?
What are the features of c languages?
What is a far pointer in c?
How can I open files mentioned on the command line, and parse option flags?
List some of the static data structures in C?
Can a file other than a .h file be included with #include?
What is difference between class and structure?