int main() { register int i = 1; int *ptr = &i; cout << *ptr; return 0; }
a) Runtime error may be possible
b) Compiler error may be possible
c) 1
d) 0
What will be the output of the following C++ function?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C++ function?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!