answersLogoWhite

0


Best Answer

The scanf() function in the <stdio.h> C standard library header.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which function is used to read data from the console?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the role of the grep function in the Perl programming language?

The grep function in Perl is the command-line function which can be used to search in a data set for lines which match a regular expression. The grep function is essentially a tool that can be used to search for particular information within the data.


Why can't the accessor member function change any of the values in a class in C plus plus?

Nothing stops a member function from changing any of the values in a class. By convention, an accessor function is used to give read only access to class data, but that does not mean that it is prohibited from doing so. It is a member function, after all, and it has all the rights of any member function of the class.


What is clear in c plus plus?

clear() is an inbuilt function defined in c++ defined in conio.h. It is used for clearing the console. The systax is:clear();


When to create a template function?

A template function is used when you want to write some kind of function that can be applied to different data types. It is a form of overloading, but you don't have to actually write all of the overloaded variants.


To read data which is superior 1. input stream 2. file reader?

First of all, these two classes are on different levels of abstraction. An InputStream is used for reading any stream of bytes, while a FileReader is used to read characters from a file. If you want to ask between a FileInputStream and a FileReader, then we need to look at what type of data you are reading. If you're reading plain-text file, for example, you want to use a FileReader because it was designed to read in characters. For other types of data, the FileInputStream would be better, as it is used to read in generic streams of bytes from a file.

Related questions

The count function can only be used with numeric data?

The Count Function can only be used with numeric data. true or false


Do declarations describe the data that will be used in the function?

Prototype of function describes return value as well as which data can be passed to the function.


In programming data read by programming is called?

Pascal language is used to read the programming data.


What is used to read the data from a CD?

A laser


What is a function of the console port on a router?

To connect to a terminal for initial configuration


A statistical function commonly used to describe a group of data?

A group of data is a sample.


What are the function of a cd rom?

They are disc drives which read Compact Discs (CDs). They are versatile and transportable and can be used to perform various tasks such as reading data from the computer and listening to audio.


Which command is used to read uncomment the data in Matlab?

CTRL + T is the command used to uncomment data in Matlab.


What is the role of the grep function in the Perl programming language?

The grep function in Perl is the command-line function which can be used to search in a data set for lines which match a regular expression. The grep function is essentially a tool that can be used to search for particular information within the data.


What are the function Printers?

It is used to print hard copies/data from the computer.


What are the function of printer?

It is used to print hard copies/data from the computer.


Which command is used to read comment the data in Matlab?

CTRL + R is the command used for commenting some part of data in Matlab.