GATE CSE C Programming Practice Test – Structures & Unions | Set 1

Questions 66-70 of 100

Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 66

MCQ · Single Correct 1 mark

Consider structure question #66:

CODE
struct Item_66 {
    int id;
    char name[10];
};
struct Item_66 it = {66, "GATE"};
struct Item_66 *ptr = ⁢

What is the value of 'ptr->id'?

Answers for question 66

Question 67

MCQ · Single Correct 1 mark

Consider structure question #67:

CODE
struct Item_67 {
    int id;
    char name[10];
};
struct Item_67 it = {67, "GATE"};
struct Item_67 *ptr = ⁢

What is the value of 'ptr->id'?

Answers for question 67

Question 68

MCQ · Single Correct 1 mark

Consider structure question #68:

CODE
struct Item_68 {
    int id;
    char name[10];
};
struct Item_68 it = {68, "GATE"};
struct Item_68 *ptr = ⁢

What is the value of 'ptr->id'?

Answers for question 68

Question 69

MCQ · Single Correct 1 mark

Consider structure question #69:

CODE
struct Item_69 {
    int id;
    char name[10];
};
struct Item_69 it = {69, "GATE"};
struct Item_69 *ptr = ⁢

What is the value of 'ptr->id'?

Answers for question 69

Question 70

MCQ · Single Correct 1 mark

Consider structure question #70:

CODE
struct Item_70 {
    int id;
    char name[10];
};
struct Item_70 it = {70, "GATE"};
struct Item_70 *ptr = ⁢

What is the value of 'ptr->id'?

Answers for question 70
Scroll to Top