what is difference between ++(*p) and (*p)++
Answer Posted / tejas
value that contained in p is incremented. (p is pointer.)
++(*p) --> pre-increment.
(*p)++ --> post-increment.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can you invoke another program from within a C program?
What are two dimensional arrays alternatively called as?
What is getche() function?
Why is c fast?
What is pass by reference in functions?
Is c is a procedural language?
Write a program to know whether the input number is an armstrong number.
An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?
what are bit fields in c?
What is difference between Structure and Unions?
What is a program flowchart?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Do you know pointer in c?