CPP MCQ
What is the scope of typedef defined data types?
A)
main function
B)
inside that block only
C)
outside the program
D)
whole program

Correct Answer : Option (D) :   whole program

Explanation : We are defining the user-defined data type to be availed only inside that program, if we want to use anywhere means we have to define those types in the header file.