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 difference betweeen operator overloading & operator overriding?
What is necking in production engineering ?
what is difference between value datatype and object datattype
computer is male or female.....???
hi all I got two exam call letter one from maha ganeco & other from federal bank both at same time & same date which should i choose (note I am eng. grad.)
Why do sausages split lengthways, rather than around the circumference?
discuss the conditional formatting and advanced filtering features in MS-Excel with suitable example
defference between menu and context menu in vb.net?
int main() { int d = 10; int m = 2; int y = 3603; int c = 0; int val; val = ( d + m + y + (y/4) + c) % 7; cout << val; return 0; }
different types of protocols.......?
what is means of admistrative distance
how the class is instance of object?
Define function ? Explain arguments in functions ?
can i knw what are we supposed to read for the coming oces/dgfs 2009 exam?what kind of book are we supposed to study?
what is the work of Loopback ?