COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
this function is used for input
A
0 VOID
B
PRINTF()
C
SCANF()
D
GETCH()
Explanation: 

Detailed explanation-1: -The scanf() function reads data from the standard input stream stdin into the locations given by each entry in argument-list. Each argument must be a pointer to a variable with a type that corresponds to a type specifier in format-string.

Detailed explanation-2: -The scanf function, which is found in C, reads input for numbers and other datatypes from standard input. scanf() function is used to read character, string, numeric data from keyboard.

Detailed explanation-3: -What Does Scanf Mean? In the C programming language, scanf is a function that reads formatted data from stdin (i.e, the standard input stream, which is usually the keyboard, unless redirected) and then writes the results into the arguments given.

Detailed explanation-4: -In C programming, scanf() is one of the commonly used function to take input from the user. The scanf() function reads formatted input from the standard input such as keyboards.

Detailed explanation-5: -Syntax. The general syntax of scanf is as follows: int scanf(const char *format, Object *arg(s)) Parameters. Object : Address of the variable(s) which will store data. Return value. If the function successfully reads the data, the number of items read is returned. Code.

There is 1 question to complete.