Memory
From this lecture onwards the cs50.h library is not going to be used anymore!
Binary system : 0 & 1
Hexa system: 0123456789ABCDEF (numbers 0-15)
- 16^0 = 0
- 16^1 = 16
Snippet of memory:

IN computer the memory location are referred in Hexadecimal. So per convention, any number using Hexadecimal notation has a 0x.
Code starting from addresses.c
- integer tends to be 4 bytes (32bits)
#include <stdio.h>
#include <cs50.h>
int main(void)
{
int n = 50;
printf("%i\n",n);
}
New terminology:
&If we prefix a variable with&nit gives the address in memory where the variable is stores%ppercent p to print an address of something in the computer's memory
#include <stdio.h>
#include <cs50.h>
int main(void)
{
int n = 50;
printf("%p\n",&n);
}
Pointers:
Core topic in C! A pointer is a variable that can store in address