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
If you had a cylinder, sealed at both ends, with the pressure rising inside, would it blow at the end or split along the side first?
what is the difference between public static void main (String args[]) and static public void main(String args[]) in java?
What would happen if you drilled through the Earth all the way to the other side and then jumped into the hole?
good morning! can u briefly explain the concept of syllolism and wat it mean?
what kind of questions generally asked for ME admission, (specially in RGPV).
What is the use of SUN Server
i want to know how can i divide the bandwidth among two computers.say i have a connection of 256 kbps dsl connection. i have a switch.now i want to divide this 256 kbps in two 128,128 equal connections.so that both of us can work on our separate 128 speed
pls send me the e-book for verbal and non verbal reasoning of R S aggarwall
how to initialize a pointer to an array?
i can access command prompt in my pc. when i type cmd in run,message comes-you are restricted.contact admin. why is it so? how can acces it by just logging in as a user and not as admin.?????
what will happend if i fire this command in linux " rm -r / "
#include
tell the function of Source record of DNS server. why we create Stub zone? Tell Round Robing also?
Name all parameters for virtual private networks. what are different metrics of virtual private networks
differences between pass by reference and pass by value in c language?