Which keyword is used in C to create an alias for a data type?
- enum
- struct
- typedef
- union
In C programming, the "typedef" keyword is used to create an alias or a new name for an existing data type. This makes the code more readable and can help in achieving better code organization.
Loading...
Related Quiz
- How can you open a file for both reading and writing in C?
- A ________ allows multiple variables to share the same memory location.
- The function ________ is used to move the file pointer to a specific position in the file.
- The function ________ is used to find the first occurrence of a character in a string in C.
- A ________ pointer is a pointer that still points to a memory location that has been deallocated.