- C Programming Basics
- C Tutorial
- C Program Structure
- C Basic Syntax
- C Data Types
- C Constants
- C Variables
- C Operators
- C Ternary Operator
- C Storage Classes
- C Flow of Control
- C Decision Making
- C if if-else Statement
- C switch Statement
- C Loops
- C for Loop
- C while Loop
- C do-while Loop
- C goto Statement
- C break Statement
- C continue Statement
- C Popular Topics
- C Arrays
- C Strings
- C Pointers
- C Functions
- C Recursion
- C Scope Rules
- C Programming Advance
- C Structures
- C Unions
- C Bit Fields
- C Enumerations
- C Input & Output
- C Typedef
- C Preprocessors
- C Type Casting
- C Recursion
- C Error Handling
- C Linked Lists
- C Stacks
- C Queues
- C Binary Trees
- C Header Files
- C File I/O
- C Variable Arguments
- C Memory Management
- C Command Line Arguments
- C Programming Examples
- C Programming Examples
- C Programming Test
- C Programming Test
C Tutorial
This tutorial will teach you all about C programming from very basic for beginner to advance.
What is C ?
C is a programming language which was invented, first implemented by Dennis Ritchie on DEC PDP-11, used UNIX operating system.
C is a Middle-Level Language
C language is often called as a middle-level computer language. This doesn't mean that C is something weaker than other language. For your knowledge, C is much faster than other languages. You can use C to make your program running more faster.
C is a Structured Language
C is also referred as a structured language.
C is a Programmer's Language
C programming language was created, influenced, and field-tested by working programmers. C gives the programmer what the programmer wants: few restrictions, few complaints, stand-alone functions, block structure, and a compact set of keywords. By using C programming language, you can nearly achieve the efficiency of assembly code that combined with the structure of Pascal or Modula-2.
It is no wonder that C has now become the universal language of programmers around the world.
Here is a simple C program:
/* C Programming Tutorial */ #include<stdio.h> #include<conio.h> void main() { printf("C Tutorial at codescracker.com"); printf("\n"); getch(); }
The sample run of the above C program is shown here in this image:
Let's look at one more C program
/* C Programming Tutorial */ #include<stdio.h> #include<conio.h> void main() { char name[20]; clrscr(); printf("Enter Your Name: "); scanf("%s", name); printf("\nHey,\n%s", name); printf("!\nAre you ready to go?"); printf("\n"); getch(); }
The snapshot given below shows the sample run of above C program with user input James:
You will learn all about C programming in this tutorial series.
Audience
This tutorial of C programming is designed and developed to all those C lover, who wants to practice with a lot of codes. Therefore you can follow this tutorial to learn C along with a lot of C codes with its respective output.
We have included a lot of C programming codes where required in each and every chapter.
Prerequisites
Before start learning C programming, you must have some basic computer skills.
If you have already some knowledge about how to program, then you will feel very easy to learn C.
« CodesCracker Home Next Tutorial »
Follow/Like Us on Facebook
Subscribe Us on YouTube