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
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Where can I get an ansi-compatible lint?
Write programs for String Reversal & Palindrome check
If you know then define #pragma?
When should a type cast be used?
I have a varargs function which accepts a float parameter?
Differentiate call by value and call by reference?
What is the difference between text and binary modes?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What is c token?
What is #include in c?
What type of function is main ()?
Explain how can I convert a number to a string?
Why enum is used in c?
Explain how do you sort filenames in a directory?