Basic Structure of C Program

Pre-processor Commands -
This is mainline of our code. Any line beginning with # addresses a preprocessing order. It lets our program know that before its execution
stdio.h - It is utilized to a portion of the orders or codes from this record.
math.h - It assists us with utilizing the code from math.h record for the computations in our projects.
printf - It is utilized to be straightforwardly imprinted onto the screen.
scanf - It is utilized to take inputs from the client.
return 0 - The capacity is working impeccably.
Comments - It is utilized by the double slice sign (//). Remarks are to advise different software engineers of the working of the code at explicit spans or we think of them for our-self. They don't have any impact on the composting program.
file_name.i - It will make a preprocessing document where remarks are eliminated, macros are consumed and all the code from # records are replicated into the file_name.i record with our particular code toward the end.
file_name.s - It will have our code changed over into get-together level code.
file_name.o - It will have all the code in machine-level language in paired structure.
file_name.c - It will contain our executable C language code.
new_file.exe - It is the linker that connects all the file_name.o kind of records in a single place.
0 Comments