English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Generally, we use C / C ++We usually use C language header files to access embedded functions, such as int, char, string functions. The functionprintf()
It is also an embedded function, which is declared in the 'stdio.h' header file and is used to print any type of data on the console.
This is an example of printing without using the C language header file.
int printf(const char *text, ...); int main() { printf("Hello World"); return 0; }
Output result
Hello World
In the above program, we declare theprintf()
Declaration of the function that prints 'Hello World' without using the program header file.printf()
As follows.
int printf(const char *text, ...);