C Language : Introduction

Are the expression *ptr++ and ++*ptr are same? , Are the expression *ptr++ and ++*ptr are same?

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




Solution
B. FALSE



Explanation
*ptr++ increments the pointer and not the value, whereas the ++*ptr increments the value being pointed by ptr
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad