Basic
Pointers
Operators
Control Statement
Loops
Function
Array
Sorting
Advanced
C programs
Interview question
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.
Code:
#include <stdio.h>
int main()
{
int age1 = 100;
int age2 = 80;
if (age1 > age2)
{
printf("age1 is greater than age 2");
}
else
{
printf("age2 is greater than age 1");
}
return 0;
}
Output:
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.
Web development, programming languages, Software testing & others
This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy
Web development, programming languages, Software testing & others