Добавить
Уведомления

Basics of 'C'in Detail(Format Specifiers,Conv. source code ➡️Executable code,I/O Functions,I/P data

The format specifier is used during input and output. It is a way to tell the compiler what type of data is in a variable during taking input using scanf() or printing using printf(). Some examples are %c, %d, %f, etc. A compiler takes the program code(source code) and converts the source code to a machine language module (called an object file). Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file. The basic input/output functions are getchar , putchar , puts , scanf and printf . The first two functions, getchar and putchar, are used to transfer single characters. Input data can be entered from a standard input device by means of theC library function scanf .

12+
13 просмотров
2 года назад
5 декабря 2023 г.
12+
13 просмотров
2 года назад
5 декабря 2023 г.

The format specifier is used during input and output. It is a way to tell the compiler what type of data is in a variable during taking input using scanf() or printing using printf(). Some examples are %c, %d, %f, etc. A compiler takes the program code(source code) and converts the source code to a machine language module (called an object file). Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file. The basic input/output functions are getchar , putchar , puts , scanf and printf . The first two functions, getchar and putchar, are used to transfer single characters. Input data can be entered from a standard input device by means of theC library function scanf .

, чтобы оставлять комментарии