Declarations and Initializations - Point Out Errors :: Discussion


4.Which of the following is correct about err used in the declaration given below?
A.It is a typedef for enum error.
B.It is a variable of type enum error.
C.The statement is erroneous.
D.It is a structure.
Answer:  Option  A
Explanation:

typedef gives a new name to an existing data type.
So err is a new name for enum error.

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers