Which of the following are legal statements in 𝐶 programming language? (a)…

PYQ UGC NET 2019

Which of the following are legal statements in 𝐶 programming language?
(a)    int *P=&44;
(b)    int *P=&r;
(c)    int P=&a;
(d)    int P=a;
Choose the correct option:

  1. A.

    (a) and (b)

  2. B.

    (b) and (c)

  3. C.

    (b) and (d)

  4. D.

    (a) and (d)

Attempted by 988 students.

Sign up free to check your answer

Sign up free

Explore the full course: Nta Ugc Net Paper 2

Loading lesson…