Welcome to C Programming!

C tutorials

Welcome to C Programming! : C language Tutorial with programming approach for beginners and professionals, helps you to understand the C language tutorial easily. Our C tutorial explains each topic with programs.

This Language is developed by Dennis Ritchie for creating system applications that directly interact with the hardware devices such as drivers, kernels, etc.C programming is considered as the base for other programming languages, that is why it is known as mother language.

Why to Learn C Programming?

 C programming language is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Software Development Domain. Some of the advantages of learning C Programming are:
  1. It is Easy to learn
  2. C programming language is Structured language
  3. C language produces efficient programs
  4. It can handle low-level activities
  5. It can be compiled on a variety of computer platforms

Hello World using C Programming.

Just to give you a little excitement about C programming, I’m going to give you a example of  C Programming Hello World program

#include <stdio.h>

int main() {
   /* my first program in C */
   printf("Hello, World! \n");
   
   return 0;
}

Welcome to the First C Programming

Armed with the Knowledge about the types of variables, constants &keyword the next logical step to combine them to form instruction
.However, instead of this ,we would write our first C program now.

To write the first c program, open the C console and write the following code:

#include <stdio.h>    
int main(){    
printf("Hello Learners ");    
return 0;   
}  

#include <stdio.h> includes the standard input output library functions. The printf() function is defined in stdio.h .

int main() The main() function is the entry point of every program in c language.

printf() The printf() function is used to print data on the console.

return 0 The return 0 statement, returns execution status to the OS. The 0 value is used for successful execution and 1 for unsuccessful execution.


The process to Run And Compile C Program:

There are 2 ways to compile and run the C program:

i. by menu
ii. by shortcut.

By menu:

After making a program , click on the compile menu then compile sub menu to compile the c program & then click on the run menu then run sub menu to run the c program.

By shortcut:

By clicking ctrl+f9 you can compile your program directly and fastly.


 Audience

This tutorial is designed for beginners & for Professional with a need to understand the C programming language starting from basics.


Prerequisite

Before learning C Programming, you must have the basic knowledge of Computer Fundamental.


Recommended Posts

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *