Math, asked by rudra9t2king, 1 month ago

What is the output of the program.? int main() { int a = 25%10; printf("%d", a); return 0; }​

Answers

Answered by abhinabadutta8774
3

Answer:

I can't understand that question properly so plz explain it nah!!!

Answered by payalchatterje
0

Answer:

The output of the program int main() { int a = 25%10; printf("%d", a); return 0; } is 2.5

Explanation:

25\% \: of \: 10 \\  =  \frac{25}{100}  \times 10 \\  =  \frac{25}{10}  \\  = 2.5

Extra information about input and output:

In computing, input or output is communication between an information processing system, such as a computer, and the outside world, perhaps a human or another information processing system. Input is the signals or data received by the system and outputs are the signals or data sent by it. The term can also be used as part of an action; "Performing I/O" means performing an input or output operation.

I/O devices are hardware that a person (or another system) uses to interact with a computer. For example, a keyboard or computer mouse is a computer input device, while monitors and printers are output devices. Computer-to-computer communication devices, such as modems and network cards, typically perform both input and output operations. Each interaction with the system is an input and the response to which the system responds is called an output.

Designating a device as input or output completely depends on the point of view. Mice and keyboards take physical movements made by a human user and convert them into input signals that a computer can understand; the output of these devices is the input of the computer. Similarly, printers and monitors take signals from computers as input and convert them into a representation that human users can understand. From the perspective of a human user, the output becomes the process of reading or seeing these representations; this type of interaction between computers and humans is studied in the field of human-computer interaction. A further complication is that a device traditionally considered an input device, example -a card reader, a keyboard, can receive control commands such as selecting a stacker, displaying keyboard lights, while a device traditionally considered an output device can transmit status data, e.g. , toner out, paper out, paper jam.

This is a problem of computer.

Computer related two more questions:

https://brainly.in/question/28402186

https://brainly.in/question/6586629

#SPJ2

Similar questions