@JacobSorber
  @JacobSorber
Jacob Sorber | Clarifying about literals, macros, and const (still not constant?) @JacobSorber | Uploaded 2 years ago | Updated 3 hours ago
Patreon ➤ https://www.patreon.com/jacobsorber
Courses ➤ https://jacobsorber.thinkific.com
Website ➤ https://www.jacobsorber.com
---

Clarifying about literals, macros, and const (still not constant?) // Last week's video about how a const int isn't a constant could have been more carefully worded, and it confused a few people (and frustrated others). This one clarifies a few things and tries to tease apart a few related concepts — literals, constants, macros, and constant integer expressions. I hope it helps.

Related Videos:
Last week's video: https://youtu.be/8a3HyL1VN0Q

***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.


About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/

To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [https://www.patreon.com/jacobsorber]

Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]
Clarifying about literals, macros, and const (still not constant?)How to Indent Code the Right WayThe What, How, and Why of Void Pointers in C and C++?Stop Studying for Code InterviewsYour Variables are Not Real.What the FizzBuzz? (A toy problem worth caring about?)The Good and Bad of Automatic Make RulesRevisiting print debugging. Is it that bad?Generating Unique Identifiers in Your Programs (GUIDs/UUIDs)Talk to the Duck!Sockets and Pipes Look Like Files (Unix/fdopen)Can I write to NULL (0x0000000000) without seg faulting?

Clarifying about literals, macros, and const (still not constant?) @JacobSorber