cppreference.com

C++ Knowledge

g++

In default, struct is public, class is private.

< is better than <= in performance

array is a pointer

life time: heap and stack

memory indirection