A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

C programming Tutorial

C programming Tutorial

What is C Programming?

C is a general-purpose programming language and can efficiently work on enterprise applications, games, graphics, and applications requiring calculations, etc.
C is a programming language and discovered by Dennis Ritchie in 1972, He has written this language as a high-level language that program can directly go to compiler and compiler can talk to the machine.
Initially, it was happening that COBOL and other assembly languages which are low-level language, can talk to machine indirectly conversion through assembly language to the machine through an interpreter. So, when C language came it became very famous till now. it is known as the mother of all language.


What is the Software to start coding and development using C Programming Langauge?

Download Dev C++ for development and coding

Example of Hello World





#include
#include
int main()
{
    printf("Hello World");
    getch ();
}


 

Instruction: write the above code in notepad and save as Hello.c In programming, program files are save as filename.c and there is a lot of software that handle programming in c like Turbo c++, code block and Dev c++. I like Dev c++. In the above program, #include It is called header files, here #include < > tag is header file tag. And stdio.h is the header file. Which is standard input-output header file and this header file is already defined in the library of all the software. This provides us two basic methods like printf( ) function and scanf( ) function. Note: printf( ) function is used to print the values from main memory and scanf( ) function is used to enter the values from keyboard to variables and it will further assigned to main memory. In programming in C, main( ) function is the parent function from where the execution of program begins starts, everything inside the main( ) function will be called by compiler.

main method body





int main()
{
   //main method body
}


 

LEARN TUTORIALS

.

.