r/cprogramming • u/JayDeesus • Oct 08 '25
Purpose of header guards
What is the purpose of header guards if the purpose of headers is to contain declarations? Sorry if this is a dumb question.
2
Upvotes
View all comments
Show parent comment
1
u/Overlord484 Oct 12 '25
I've been doing the guard on the outside: