Single Choice
Not Set
QWhat will be the output of the program in 16-bit platform (under DOS)?
#include
int main()
{
struct node
{
int data;
struct node *link;
};
struct node *p, *q;
p = (struct node *) malloc(sizeof(struct node));
q = (struct node *) malloc(sizeof(struct node));
printf("%d, %d\n", sizeof(p), sizeof(q));
return 0;
}
ID: #2684
Union in C Language
1,040 views
Question Info
#2684Q ID
Not SetDifficulty
Union in C LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
2, 2
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic