profile-img
Eduncle Asked an Mcq
February 22, 2020 12:13 pm

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

Choose Your Answer:
  • 0 Attempts
  • 0 Likes
  • 1 Comments
  • 0 Shares
  • Eduncle Best Answer

    Legal Statements :
    int *P = & r; Pointer variable P is storing address of variable r.
    int P = a; P will hold value assigned by a.

    Likes(0) Reply(0)