Q46
What will be the output of the following C++ function? int main() register int i = 1; int *ptr = &i; cout << *ptr; return 0;
A.
0
B.
1
C.
Compiler error may be possible
AnswerD.
Runtime error may be possible
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board