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

Questions 51-55 of 100

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

Question 51

MCQ · Single Correct 1 mark

Consider structure question #51:

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

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

Answers for question 51

Question 52

MCQ · Single Correct 1 mark

Consider structure question #52:

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

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

Answers for question 52

Question 53

MCQ · Single Correct 1 mark

Consider structure question #53:

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

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

Answers for question 53

Question 54

MCQ · Single Correct 1 mark

Consider structure question #54:

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

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

Answers for question 54

Question 55

MCQ · Single Correct 1 mark

Consider structure question #55:

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

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

Answers for question 55
Scroll to Top