profile-img
Eduncle posted an MCQ
February 22, 2020 • 17:43 pm 0 points
  • UGC NET
  • Computer Science & Applications

Which of the following are legal statements in C programming language?

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 Submit Now
  • 0 Likes
  • 1 Comments
  • 0 Shares
  • comment-profile-img>
    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.

whatsapp-btn

Do You Want Better RANK in Your Exam?

Start Your Preparations with Eduncle’s FREE Study Material

  • Updated Syllabus, Paper Pattern & Full Exam Details
  • Sample Theory of Most Important Topic
  • Model Test Paper with Detailed Solutions
  • Last 5 Years Question Papers & Answers