C Programming
Instructor Info:
Tutul
Facebook
Github
Linkedin(Ask Your Problem)
About Course:
Full Playlist
Presentation
W3School
Programiz
Online Compiler
Introduction
Git & GitHub Playlist
GitHub Repository
Presentation
History
Wikipedia
Environment Setup
Codeblocks
VS Code
MingW
Online Compiler
Hello World!
GitHub Repository
#include <stdio.h>
int main() {
printf("Hello, World!");
return 0;
}
Syntax
Keywords and Identifiers
Keywords: Reserved words.
Identifier:
Name of Variable, Function.
C Variables, Constants
Variables: a variable is a container (storage area) to hold data.
Constants: whose value cannot be changed
Data Types
Input Output (I/O)
Comments
Single-line comments: //
Multi-line Comments: /* — */
Operators
Online Compiler
Size of Variables:
sizeof(variable)
we use either %lu or %zu format specifier.
Introduction Example:
01. C program to print an integer, float, double & character value entered by
the user
02. C program to find ASCII value of a character entered by the user
03. C program to find the size of int, float, double and char
If-Else: