retagged by
538 views
0 votes
0 votes
Which of the following is/are true regarding the following code snippet?

1:int *p;

2:p = &q;

 

A)*p gives faster retrieval of information than q.

B)The size of p is same as size of int.

C)Only statement 2 gives an error.

D)In statement 1, * is used as a dereferencing operator.
retagged by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
Pranavpurkar asked Sep 27, 2022
574 views
Consider a string is stored in a word addressable memory where each word is of 4 Bytes. If the string starts at 100 and ends at 104 then which of the following can be the...
0 votes
0 votes
2 answers
2
0 votes
0 votes
3 answers
3
2 votes
2 votes
1 answer
4