main( ) FUNCTION

Published: 23 May 2024
on channel: PRINCE OF PROGRAMMING
4
like

#C #CTUTORIAL #STRUCTUREOFCPROGRAM #CLANGUAGE #CPROGRAM #CPROGRAMMING #Programming_Language #youtubechannel #youtube #youtuber #youtubers #subscribe #youtubevideos #sub #youtubevideo #like #instagram #programming #coding #programmer #python #developer #technology #code #coder #computerscience #tech #software #codinglife #linux #softwaredeveloper #programmingmemes #programmers
#STRUCTURE_OF_C_PROGRAM #MAINFUNCTION #MAIN_FUNCTION #MAIN()

Welcome to my channel Prince of Programming👨‍🎓

   / @princeofprogramming  

This tutorial will give you a full introduction into

MAIN( ) FUNCTION    • main( ) FUNCTION  

Give this video a thumps up👍

Share & subscribe for more videos😏

Show your support to recover the channel❤

Click the bell icon to get notified for new videos🔔

Feel free to drop your doubts in the comment section📗

MAIN( ) FUNCTION    • main( ) FUNCTION  

The main( ) function section is the most important section of any C program.

The compiler starts executing C program from main( ) function.

Each C program should contain only one main( ) function.

Main( ) function should not be terminated by semicolon.

Syntax:
return_type main()

Example:
void main ( ) //Main ( ) Function returns nothing
int main( ) //Main ( ) Function returns some value

Main( ) function has two parts:
1. Declaration Part 
2. Executable Part
1. Declaration Part :
All the variables that are later used in the executable part are declared in this part.
2. Executable Part :
This part contains the statements that are to be executed by the compiler.


On this page of the site you can watch the video online main( ) FUNCTION with a duration of hours minute second in good quality, which was uploaded by the user PRINCE OF PROGRAMMING 23 May 2024, share the link with friends and acquaintances, this video has already been watched 4 times on youtube and it was liked by like viewers. Enjoy your viewing!