Hasty Briefsbeta

Bilingual

C

a day ago
  • C uses #include to insert entire file contents, not import modules.
  • #define and #ifdef are used for constant definitions and conditional compilation.
  • The 'static' keyword provides file-scope privacy, similar to private in other languages.
  • Pointers store memory addresses; functions can modify variables via pointers.
  • Array indexing (a[0]) is equivalent to pointer dereference (*a) and other forms like *(a+0), *(0+a), and 0[a].
  • Assigning an array (not an element) to an integer variable causes a compilation error.