Basic C programming: Basic C programming is a high-level, general-purpose, procedural programming language. It is a very powerful language used to help computer software and applications, web developments, games, etc. C is a subset of C++.
You’ll learn basic c programming to advanced-level c programming concepts like variables, data types, arrays, strings, pointers, loops, and many more. The C programming tutorials are designed to enhance skills.
The Basic C language was created by Dennis Ritchie in 1972 at Bell Laboratories of American Telephone & Telegraph, located in the U.S.A. C is a very fast language compared to other language
Key Feature of C Programming?
- Simple and Easy-to-learn Programming
- Fast Speed
- Memory Management
- Machine-Independent Language
- Structured Programming Language
Differences between C and C++ Programming?
- C++ supports an Object-Oriented Programming System, while C does not support it.
- C++ is the super-set of C programming, and C and C++ languages are almost the same structure.
C | C++ |
C does not support object-oriented programming. | C++ supports object-oriented programming. |
C is the subset of the C++ language | C++ is a super-set of C languages |
Many Programming Languages
Programming Language | Developed Year | Developed By |
Assembly Languages |
1940 | Kathleen Booth |
C | 1972 | Dennis Ritchie |
C++ | 1983 |
Bjarne Stroustrup
|
Java | 1995 | James Gosling |
JavaScript | 1995 |
Brendan Eich
|
Python | 1991 | Guido van Rossum |
Ruby | 1995 |
Yukihiro Matsumoto (Matz)
|
C# | 2000 | Microsoft (Anders Hejlsberg) |
PHP | 1995 | Rasmus Lerdorf |
Kotlin | 2011 | JetBrains |
C Programming Example
In this tutorial, C programs are given with a C compiler so that you can quickly change the basic C programming code.
#include <stdio.h>
int main()
{
printf("Hello World!\n");
return 0;
}
Output
Hello World!
In this C Programming,
UG and PG Course Admission 2023 | |
Arts Courses | Engineering Course |
Certificate course | Education Course |
Commerce Course | Medical Course |
Management course | Diploma Course |
Science Course | IGNOU |
The first line #include<studio.h> is the header file, it is also defined at the top of the code. The stdio.h contains the information needed to input or output library files in our program. For instance print and scanf.
The second line is the int main(), it is the main function of the program, in easy word it has a point to start a program. and int is a define it only contain a integer value.
The third line of { }/Braces/curly bracke it is contain a body of the function. and if function is called then it run the body of the program.
The next line is contain printf(“Hello World!\n”);, it means the output of the programe. printf it helps to use print a contain to show a user. and /n means the next line of the cursor.
The last is the return, it is use to return the function of the programming or not. If programmer is user to started the function in void so it is not compelsory to use.
For more information of the Basic of C programming user can check a direct link.