. A pointer pointing to a pointer. Will the giver de compile correctly?
int main()
{
int *x, *y;
X = &(y= &(x);
return 0;
}
Answers
Answer:
Explanation:void fun(int *p)
{
int q = 10;
p = &q;
}
int main()
{
int r = 20;
int *p = &r;
fun(p);
printf("%d", *p);
return 0;
}
Answer:
Question 2:- Three people write about their favorite companies. Choose the option that correctly
identifies them, based on the given text.
Person 1: I think ____________ is a brilliant company. They sell all kinds of products from
their platform.
Person 2: I really like the concept of a product displaying an average modern following. That’s
why I connect with_________________
Person 3: True! But I love _______________ because it is a great symbol of strength for
athletes and also mythology connection.
a) Baskin-Robbins; Adidas; Dabur
b) Amazon; Nestle; Nike
c) IBM; Aadhaar; Adidas
d) Nestle; IBM; Baskin-Robbins