Page 1 of 1

Which of the following does not initialize ptr to null (assuming variable declaration of a as int a=0;)?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
a) int *ptr = &a;
b) int *ptr = &a – &a;
c) int *ptr = a – a;
d) All of the mentioned