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
hi i am an CSE engg student and i cleared the PE exam of BEL 2012 both 24/07/012 and 01/08/2012 , so please if someone can help me with PE Interview question or subject or topics which i should cover that help me clear both Interview.PLZ help. my mail id is rjjkumar99@gmail.com
why you are suitable to work here???? plzz give me the ans f this Q. i was told to write 200 words on the spot....
What is the difference between while & do while loop
what is the advantage of msil in c#
What is RAC?(Real Application Cluster).Explain in Detail.
How would you design a gravity dam for holding back water?
can i learn ad. java without learned core java? java is best or .net is best for summer training?
Which one is more efficient in terms of required memory space call-by-value or call-by-referance?
What is the use of generics? when was it added to jdk?
i am going to give interview for the post of ibps po..so there is a question in my mind which is "Being an electonics and communication engineer how can you help in banks, I mean whats the application of your education in banking."
What is the main difference between binary and counting semaphore?
i opt cse branch in engineering.which subject i have choose in civil service preliminary examination
/bin/bash is missing.
15. What is your Future Plans for the Company if Permanently Employed?
WHAT IS THE NAMESPACE FOR CUSTOMCONTROL AND USER CONTROL IN ASP.NET?