Week 0x2
Crypto
1)0)arr[0] or something before the arr[1] of something.scanf - the inverse of printf
scanf a format string, like:
%d,%dint * for each integer format code.format ‘%d’ expects a matching ’int *’
int *n is just an int n[m] for which we don’t say what m is.x = [0] example.scanf.c
scanf.c
0b01001 to 0b01010 which equals 0b100111 is a value.long is a type (usually the 64 bit type)(long)1 is the value of 1 as a 64 bit typeint is commonly 4 bytes, or char values.gcc that no, really, buf is actually an array of integers.0x0 before 0xa0x0b before 0x0achar and unsigned chartester.c
65536
65536, 65536, 00000000000000010000000000000000
-1
-1, 4294967295, 11111111111111111111111111111111
4294967295
-1, 4294967295, 11111111111111111111111111111111
4294967296
0, 0, 00000000000000000000000000000000
255
255, 255, 00000000000000000000000011111111
256
256, 256, 00000000000000000000000100000000
-255
-255, 4294967041, 11111111111111111111111100000001