what is difference between ++(*p) and (*p)++
Answer Posted / sonal
++(*p) it will increase pointer value to one value
(*p)++ will refer to next memory location
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What are the different types of pointers used in c language?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
while initialization of array why we use a[][2] why not a[2][]...?
Can a pointer be static?
Where static variables are stored in c?
What is the use of #include in c?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
What is the use of extern in c?
What are the primitive data types in c?
What is the purpose of the statement: strcat (S2, S1)?
What is the difference between int main and void main?
Which built-in library function can be used to match a patter from the string?
What is the purpose of void in c?
What is a function in c?
What is the difference between ++a and a++?