answersLogoWhite

0

scanf();

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are some different ways to clear the input buffer in C and Cpp?

In C++ we clear an input buffer as follows: std::cin.clear(); // clear the error state (if any) std::cin.ignore (numeric_limits<streamsize>::max()); // read and ignore everything until EOF


What is buffer in c?

A buffer is a (usually temporary) place to store data. If you have a data stream that needs to be processed, it will usually be placed into a buffer and then read from the buffer, rather than trying to read the stream directly.


How is the getchar function used in a C program?

The getchar() is used in 'C' programming language because it can read the character from the Standard input(i.e..from the user keyboard),and converts in to the ASCII value.


What are input and out put string?

Input strings are character arrays that are initialised from input devices, such as file streams with read access and the keyboard. Output strings are character arrays sent to output devices such as files with write access, the console (display) and printers.


8086 assembly language that accepts two input digits?

In 8086 assembly language, you can accept two input digits by using interrupts to read from the keyboard. You would typically use the INT 21h service with function 01h to read a character, storing each digit in a register or memory location. After reading both digits, you can convert them from ASCII to their numeric values by subtracting 30h from each character. This allows you to perform arithmetic operations on the input digits as needed.


Is read denominator a input?

It can be an input.


What is difference between single double and circular buffer?

single buffer : you read and write on the same buffer, can be messy if both reading and writing take place at the same time.double buffer : you read one buffer and you write the other one. When both reading and writing are complete, the buffers are swapped. It solves the problem of simultaneous reading and writing but requires synchronization.circular buffer : this a buffer with two pointer : read and write. If both pointers are equal, the buffer is empty.For each write operation, the write pointer advances and each time data is read back, the read pointer advances. It is circular because when a pointer reaches the end, it wraps back to the beginning.It may be used to implement a queue which allows simultaneous reading and writing without synchronization as long as the buffer is not full.A double buffer is basically a circular buffer of size 2 and a single buffer is basically a circular buffer of size 1.


How do you input a string value from keyboard in c?

Simple press the keys one by one, end finally press Enter.But if you meant: how the read from keyboard, then use functions like fgets or scanf. (Use the help/manual of your system for details.)


What are some upcoming input devices?

do you mean like the optimus maximus, where they charge a rediculous amount of money to make something look "cool" or are you refering to suff like multi-touch sensitive displays, the keyboard in a glove, the frogpad one handed keyboard, or computers that can read our minds?


Does the Kindle with the keyboard read out loud to you?

Yes the kindle with the keyboard can read out loud it has the "text to speach" function.


Is platter a input device or output device?

An interesting question. Typically, devices fall into a category of 'input' or 'output'. A monitor, for example, would universally be regarded as an output device. A keyboard, an input device. A platter, which I'm assuming is a hard drive platter and not a delicious halal meal, falls neatly into both catgeories. It is an input device when data is being read from it, and an output device where data is being read to it.


A high capacity input device that is read using low power laser is optical disk?

hard disk