2 ms·
This seems to be about defining it, not merely declaring it. ("typedef" is short for "type definition", for example.)
by NoZebra120vClip 4y ago
This seems to be about defining it, not merely declaring it. ("typedef" is short for "type definition", for example.)
- riceart 4y agoDefinition and declaration have specific meanings in C and C++. A typedef is part of a declaration. Declarations can be definitions but a typedef is not a definition in particular. https://en.cppreference.com/w/c/language/typedef https://en.cppreference.com/w/c/language/typedef