C Programming Tutorial
C programming tutorial | C is a general-purpose, middle-level, compiler-based, and procedure or function-oriented structured programming language. It was developed by Dennis Ritchie at Bell Laboratories in 1972. The main purpose of developing C was to write operating systems.
The developers of UNIX OS (Including Dennis Ritchie and Stephen C. Johnson) decided to rewrite the system in B languages. In 1978, the C programming language book was published by Brian Kernighan and Dennis Ritchie.
Basic of Programming Language
Basic of Programming language:- In these C Programming tutorial you will learn basic things required for learning programming languages.
Introduction to C programming language
Introduction to C language:- In these C Programming tutorial you will start learning C language. An introduction to C programming, constants, identifiers, variables and, comments in C language.
- Constants, Identifiers, and Keywords
- Data types in C language
- Size and Range of data types in C
- Variables in C language
- Comments in C
Operators:- To perform any operation we need operators and operands. In below tutorials we will learn about operators.
C Programming tutorial on basic Input-Output: To receive and display the data in some pre-defined functions are available. Functions that are used for Input-Output operations are collectively called Input-output Library. We will learn regularly used functions scanf and printf.
C Programming Tutorial on Control Flow
C Programming tutorial on Contorl Flow | The control-flow statements of a language specify the order in which computations are performed.
Conditional control statements:- Here the condition is tested for whether the result is true or false and the action is taken according to these results.
- If-else statement in C
- Programs on if-else in C
- Switch case in C programming
- Programs on switch case in C
- Conditional operator in C
Loop control statements:- The loop control statements are useful to execute a statement or a set of statements for a particular number of times until the condition evaluates to true.
Jump Control statements in C:- These statements cause the control to pass to any desired location in the program.
C Programming tutorial on Function
Function:- A function is a block of code that performs a specific task. The C program is made of one or more functions. The function is a small program is used to do a particular task. In C a big program divided into several small functions. Hence C is a function-oriented programming language.
Recursion:- In general, programmers use two approaches to writing repetitive algorithms. One approach uses loops; the other uses recursion. It is a repetitive process in which a function calls itself.
Storage class:- It indicates, where the variables would be stored, how long they would exist i.e. their lifetime, what is their scope and what are their default values.
String in C
Strings:- A group of characters is called string. In these tutorials, we will learn about string, how to initialize, read and display the strings. What are multidimensional strings.
- Copy Input to Output
- Dynamic memory allocation in C
- C Program Without Main() Function
- Print hello world without using semicolon
- Tricky C Programs
- void main(), main() and int main() in C/C++
- Different methods of Swapping two Numbers
- Get the Process ID and parent Process ID
- fork() in C
- Why gets function is dangerous and should not be used
- Undefined reference to sqrt (or other mathematical functions) even includes math.h header
Subscribe to our newsletter and follow on Facebook page to receive the latest tutorial and programs to improve your programming skills.