Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
struct s_type {
int i;
char str[60];
) s, *p;
The statement that assigns to 'p' the
address of 's' is
, Options are ⇒ (A) p = &s;, (B) p = s.i;, (C) s = &p;, (D) p = *s;, (E) None of the above, Leave your comments or Download question paper.
, Options are ⇒ (A) p = &s;, (B) p = s.i;, (C) s = &p;, (D) p = *s;, (E) None of the above, Leave your comments or Download question paper. '/> address of 's' is
, Options are ⇒ (A) p = &s;, (B) p = s.i;, (C) s = &p;, (D) p = *s;, (E) None of the above, Leave your comments or Download question paper. '/>Previous questionNext question
Given the declaration struct s_type { int i; char str[60]; ) s, *p; The statement that assigns to 'p' the address of 's' is | |
A. | p = &s; [Correct Answer] |
B. | p = s.i; [Wrong Answer] |
C. | s = &p; [Wrong Answer] |
D. | p = *s; [Wrong Answer] |
E. | None of the above [Wrong Answer] |