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

Questions 61-65 of 100

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

Question 61

MCQ · Single Correct 1 mark

Consider structure question #61:

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

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

Answers for question 61

Question 62

MCQ · Single Correct 1 mark

Consider structure question #62:

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

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

Answers for question 62

Question 63

MCQ · Single Correct 1 mark

Consider structure question #63:

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

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

Answers for question 63

Question 64

MCQ · Single Correct 1 mark

Consider structure question #64:

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

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

Answers for question 64

Question 65

MCQ · Single Correct 1 mark

Consider structure question #65:

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

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

Answers for question 65
Scroll to Top