Skip to main content

All Questions

Tagged with
0 votes
1 answer
69 views

Finding the size of a file with C23 embed

If I do: static char const file[] = { #embed "this.c" }; And then: static char const copy[sizeof file]; I assume sizeof file would be a compile-time constant and would be the actual size ...
Harith's user avatar
  • 7,235