ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
MAIN()
|
|
OUTPUT()
|
|
#INCLUDE <STDIO.H>
|
|
#INCLUDE <CONIO.H>
|
Detailed explanation-1: -printf() is output to the screen. scanf() is read input from the screen. getchar() is return characters typed on screen. putchar() is output a single character to the screen. fopen() is open a file, and. fclose() is close a file. 30-Nov-2017
Detailed explanation-2: -Input and output functions are available in the C language to perform the most common tasks. In every C program, three basic functions take place – accepting of data as input, the processing of data, and the generation of output. The acceptance of data refers to input and the presentation of data refers to the output.
Detailed explanation-3: -The standard I/O library provides a simple and efficient buffered stream I/O interface. Input and output is mapped into logical data streams and the physical I/O characteristics are concealed. The functions and macros are listed below; more information is available from the individual man pages.