07-25-2023, 01:26 PM
typedef is used to create aliases for data types.
typedef unsigned int uint;
int main() {
uint x = 10;
printf("%u\n", x); // Output: 10
return 0;
}
typedef unsigned int uint;
int main() {
uint x = 10;
printf("%u\n", x); // Output: 10
return 0;
}
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos