C is a procedural and general-purpose programming language that is used most widely for system programming. Dennis Ritchie initially developed C in between 1972 and 1973 at Bell Labs. American National Standard Institute (ANSI) later formalized this programming language in 1988. The initial purpose of the development of the C programming language was to make utilities of the UNIX based operating system. Directly or indirectly many other computer programming languages have taken/borrowed features from C programming language. Program written in C can be very efficiently mapped to machine instructions which make C programming very much popular to use for any embedded software application development which runs on a microcontroller.
To have an initial understanding of C programming language, Have a look at below sample example code where two age variables are taken as input and compared those for age comparison.
int age1 = 100;
int age2 = 80;
if (age1 > age2)
printf("age1 is greater than age 2");
printf("age2 is greater than age 1");
You should have a basic understanding of computer programming language methodologies like variable, condition, looping, constants, operators, etc. Knowledge of any other programming language is an added advantage to learn this tutorial.
This tutorial is designed for those software programmers who wish to understand about C programming language and wish to apply C programming in their project.