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
Write a nonrecursive routine to reverse a singly linked list in O(N) time.
please send aptitude test papers for reference with answers
I want to join for load runner training..please suggest me which is the best institute for load runner training in bangalore?
why dijkstra algorithm not used for negative weighted edges graph??
How is the parity flag actually set in the 8085 microprocessor?
how much the percentile as a good percentile in elitmus.
I have cleared SBT clerk exam and having interview on 29.I have completed my B.tech in IT.I would like to know the types of questions asked in the interview.
What is the pressure in co2 cartridge in a DCP 5 kg extinguisher.
what is major differnet between hub and switch and also defferent between router and switch
why B+tree usually prefer as on exis structure to a data file?
Hello friend I am Manish from delhi I clear the written exam of NIC(national insurance company),If any one have any idea about inerview plz send me details my no:-9999026117,Email id:-bittu523@yahoo.com
what is the work of Loopback ?
how many clusters are generated by k-means algorithm?
why unix commands simpler rather than complex task
is the RKDF university is aicte approved for b.tech in computer