CS208 Introduction to Computer Systems Wednesday, 10 January 2024 + Reminder: no office hour today + Try this - Convert 0x1CD to decimal - Convert 50 to hexadecimal - Convert 50 to binary - Convert 0b10111 to decimal - Convert 0b10111 to hexadecimal + Questions + The beautiful friendship between binary & hexadecimal + Play with pointers.c + The many variants of char * char ch; char buffer[10]; char *p1 = buffer; const char *p2 = p1; All of these are char *'s (but with different kinds of "const") &ch buffer &buffer[3] p1 p2 + Dynamic allocation of memory - malloc - free - ??? ====== + The char *'s above with const info specified &ch (char * const) buffer (char * const) &buffer[3] (char * const) p1 (char *) p2 (const char *) (equivalent to: char const *)