A character set has 1 and 2 byte characters. One byte
characters have 0 as the first bit. You just keep
accumulating the characters in a buffer. Suppose at some
point the user types a backspace, how can you remove the
character efficiently. (Note: You cant store the last
character typed because the user can type in arbitrarily
many backspaces)
Answer Posted / lokesh tailor
We use the fflush(stdin) function to clear the buffer.
and then take the value of char or integer.
because the enter key is reconized as a character.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
WHAT IS THE PROPER LOCATION OF SAMPLE POINT OF LPG SPHERE TANK?
how the class is instance of object?
Why there is Powerfactor difference when we compare to our Capacitive Panel and TNEB side?
can any give an exact example about, resolving the sql errorcode -305
how to hack email id & passward
Why is not creat swap partition in my system.
What is the key element of Defect Report and Test case format?
HOW CAN YOU RELATE THE FUNCTION WITH STRUCTURE EXPLAIN WITH APPROPRIATE EXAMPLES
Please explain me gsm call scenario for a prepaid roamer calling to a prepaid roamer?
WHY SHOULD I HIRE YOU
what is the differences between software engineering and other engineering disciplines.
4. What is your typical way of dealing with conflict?
I an doing Engineering in IT(4th year). i want to know what is the scope or .NET and Linux, and which is better for carrier
What type of questions are asked in interview?
C++ PROGRAM FOR FIBONACCI SERIES USING COPY CONSTRUCTER