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 / threesome

whenever a backspace character is clicked(ASCII VALUE: 08),
I will replace the previous character with a space(ASCII
VALUE: 32)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many VLANs are supported on a single switch

1376


What is the allowable load carrying capacity of a circular column section of 400 mm diameter reinforced with 6x25 mm diameter bars adequately tied with spirals? Consider concrete of grade M25 and steel of grade Fe 415.

1621


How many codes are used when u design a Pressure Vessel

1361


Why do large ships like aircraft carriers not sink despite weighing several thousand tonnes?

614


3. Tell me about a time when you had too many things to do and you were required to prioritize your tasks.

1566






What is spooling and buffering?

1278


what is debugging?

1485


real time examples for basic concepts in oop

1194


what is a structure in c language?

1359


What is the pressure in co2 cartridge in a DCP 5 kg extinguisher.

2824


Which software model is best suited for the Maintenance kind of project?

2272


SQL How can make delete and insert in one query

1408


What do you mean by client /server for a post scarcity world

2137


hi to all,i done ccna,now im looking job,but it is very diffcult to get job in networking field,.........i dnt know what im doing wrongly,kindly help me and give the proper way...i have so much of interest in this field only

1490


what is the difference between error,exception,bug,defect,fault..?

1893