Skip to content

JV74221/JPR

Repository files navigation

Index

  1. Operators
  2. Control Flow
  3. Pointers
  4. Structures
  5. Unions
  6. Enumerations
  7. Memory Management
  8. File Handling

Global

Identifier

Rules

  1. Starts with alphabets (but not reserved keywords) or an underscore.
  2. Includes alphanumerics and an underscore.

References

  1. https://en.wikipedia.org/wiki/Identifier_(computer_languages)

C

Identifier

Conventions

  1. Snake Case to name variable, function, pointer, structure, union, enumeration, enumerator, or file.
  2. Screaming Snake Case to name constant or macro.

References

  1. https://en.wikipedia.org/wiki/Naming_convention_(programming)
  2. https://en.wikipedia.org/wiki/Snake_case

Rules

  • Do not use the "typedef" keyword, as it decreases readability and is language-dependent.

About

Jaimin's Programming Rules

Resources

License

Stars

Watchers

Forks