?
What will be the output of the following C++ function?
What will be the output of the following C++ function?
int main()
{
register int i = 1;
int *ptr = &i;
cout << *ptr;
return 0;
}
int main()
{
register int i = 1;
int *ptr = &i;
cout << *ptr;
return 0;
}
Join the Discussion
Login to post a comment or share your explanation.
Login