28.
How are type annotations used in TypeScript?
Type annotations are only used for variables, not for function parameters or return values.
Type annotations are not necessary in TypeScript.
Type annotations are used to specify the types of variables, function parameters, and return values.
Type annotations in TypeScript are used to define the order of execution for functions.
Correct: C
Type annotations in TypeScript are used to specify the types of variables, function parameters, and return values. They help provide clarity and enforce type safety by explicitly defining the expected types.