Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ Because of this rule, you should always pad the `*` type qualifier with spaces.
But, always declare the name of any pointer argument to communicate if it's a pointer-to-array (plural name) or a pointer-to-value (singular name).

``` c
bool trie_eq( Trie trie1, Trie trie2 ); // Bad
bool trie_eq( Trie trie1, Trie trie2 ); // Bad(Function decleration)
bool trie_eq( Trie, Trie ); // Good

// Bad - are these pointers for modification, nullity, or arrays?
Expand All @@ -330,7 +330,7 @@ void trie_add( Trie const * trie, char const * string );
From *21st Century C*, by Ben Klemens:

``` c
printf( "%f\n", ( float )333334126.98 ); // 333334112.000000
printf( "%f\n", ( float )333334126.98 ); // 333334112.000000(Type Casting)
printf( "%f\n", ( float )333334125.31 ); // 333334112.000000
```

Expand All @@ -354,7 +354,7 @@ I think it's alright to bunch semantically-connected struct members together, th

``` c
// Fine
typedef struct Color {
typedef struct Color { //Defining Structure
char r, g, b;
} Color;
```
Expand Down