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)
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
how the class is instance of object?
What is the use of Thumb instructions in ARM processor ?
how to write a test case for ATM perday you take atleast 500& not more than 5000 (not for ATM passward&username)
what is dedicated earthing??????
3 Answers APC, ElectroMech, Emerson, JLL, JP Group, Tata Liebert,
BEL old probationary engineering questions and answers
HI!I AM A STUDENT OF B.TECH 3RD YEAR.I PASSED SECONDARY EXAM IN 2001 & HIGHER SECONDARY EXAM 2003.BUT I DROP 1 YEAR AND ADMITTED IN B.TECH 2004 DUE TO FINANCIAL CRISIS.WHEN INTERVIEWER LOOK AT MY C.V HE WANT 2 KNOW WHAT U DID IN THAT MISSED YEAR? I GET PUZZLED 2 ANSWER THIS QUESTION AS I CAN NOT FIND ANY BOLDER ANSWER.PLZ SUGGEST ME SOME BOLD ANS. THAT INTERVIEWER CAN NOT FIND ANY COUNTER QUARY.... 0 2
Explain how to share outlook calenders and the type of permissions you need to assign?
2. How can we calculate the space for a file in jcl
hi this is padhu i just want to know about remote sensing scientist in ISRO, will there a written test or not if there are any model test papers plz post it.
where is interrupt vector table is located??
i need to know abt renault nissan company and the rounds and type of questions asked by today
is built-in data-type are abstract data-types in java
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)