UGC-NET June CS 2019 Paper 1
November 19, 2023Computer-Graphics
November 19, 2023UGC-NET DEC-2019 Part-2
Question 25 |
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:
(a) int *P = &44;
(b) int *P = &r;
(c) int P = &a;
(d) int P = a:
Choose the correct option:
(a) and (b) | |
(b) and (c) | |
(b) and (d) | |
(a) and (d) |
Question 25 Explanation:
Legal Statements:
int *P = &r;
int P = a:
Illegal Statements:
int *P = &44;
int P= &a;
int *P = &r;
int P = a:
Illegal Statements:
int *P = &44;
int P= &a;
Correct Answer: C
Question 25 Explanation:
Legal Statements:
int *P = &r;
int P = a:
Illegal Statements:
int *P = &44;
int P= &a;
int *P = &r;
int P = a:
Illegal Statements:
int *P = &44;
int P= &a;