Home » C Programming » Variables » Question
  1. Which of the following is not a user-defined data type ?
    1. struct employ
      {
      char name[10];
      float salary;
      int workingdays;
      };
    2. long int k = 65.5;
    3. enum day {Sun, Mon, Tue, Wed};
    4. union xyz
      {
      int k;
      char ch[5];
      };
Correct Option: B

structure, enum and union are user defined data.
So correct answer is

long int k = 65.5;



Your comments will be displayed only after manual approval.