Guess the First C Program: 'Hello World'

preview_player
Показать описание

𝗜𝗻 𝘁𝗵𝗶𝘀 𝗩𝗶𝗱𝗲𝗼: We write our first C Program: Print "Hello World" on screen. We learn about how headers are included and where does compiler look for header we included in the program. We also talk about where does compiler find the definition of those headers.

𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Write a C program to print "Hello World" on terminal.
01:15 Entry point of a C program: The "main" function.
01:40 What is "printf" function?
02:06 Where is the definition of printf function?
02:32 Where does compiler look for header files?
05:20 Where does compiler look for definition of function printf function?
05:45 Path of standard library objects.
06:15 Execution of C program.

#inpyjama #cprogramming #embeddedsystems #clanguage #coding
Рекомендации по теме
Комментарии
Автор

the defination of printf() function available in stdio.c file, which is the part of C standard library source code ? The searching for this quition was fun, Learned many other concepts too. Can you please give more info on it?

sandesha
Автор

OS dose not call main() directly, 1st OS call _start function then _start function calls the main() function

vheh