Pointers

Q1:
Are the expression *ptr++ and ++*ptr are same?

A True

B False

ANS:B - False

*ptr++ increments the pointer and not the value, whereas the ++*ptr increments the value being pointed by ptr



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.