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;
}