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

Questions 56-60 of 100

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

Question 56

MCQ · Single Correct 1 mark

Consider structure question #56:

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

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

Answers for question 56

Question 57

MCQ · Single Correct 1 mark

Consider structure question #57:

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

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

Answers for question 57

Question 58

MCQ · Single Correct 1 mark

Consider structure question #58:

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

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

Answers for question 58

Question 59

MCQ · Single Correct 1 mark

Consider structure question #59:

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

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

Answers for question 59

Question 60

MCQ · Single Correct 1 mark

Consider structure question #60:

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

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

Answers for question 60
Scroll to Top