Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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?

2248


what is the difference between public static void main (String args[]) and static public void main(String args[]) in java?

2823


What would happen if you drilled through the Earth all the way to the other side and then jumped into the hole?

1068


good morning! can u briefly explain the concept of syllolism and wat it mean?

2726


what kind of questions generally asked for ME admission, (specially in RGPV).

2012


What is the use of SUN Server

1972


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

1960


pls send me the e-book for verbal and non verbal reasoning of R S aggarwall

2178


how to initialize a pointer to an array?

2333


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.?????

1930


what will happend if i fire this command in linux " rm -r / "

1739


#include int fn(int v); main() { printf("%d\n",fn(7)); } int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; }

1890


tell the function of Source record of DNS server. why we create Stub zone? Tell Round Robing also?

1927


Name all parameters for virtual private networks. what are different metrics of virtual private networks

1958


differences between pass by reference and pass by value in c language?

1902