C basics
Hello world
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello World !\n");
return 0;
} Variables
#include <stdio.h>
#include <stdlib.h>
int main()
{
char Name[] = "Protyro";
int Age = 24;
printf("My name is %s\n", Name);
printf("I'm %d years old", Age);
Age = 29;
printf("In five years, my age will be %d years old", Age);
return 0;
} Data types
Printf
Math
Comments
Constants
User input
Arrays
Functions
Return statements
If statements
Switch statements
Structs
While loops
For loops
2D Arrays & Nested Loops
Memory Addresses
Pointers
Dereferencing Pointers
Writing Files
Reading Files
Last updated
Was this helpful?