what is difference between ++(*p) and (*p)++
Answer Posted / srinivas
++(*p)as this means the first the addres is increneted and
then address is assgined
*p++ as this mean that the address is assign to it then the
address is incremented
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
write a program for the normal snake games find in most of the mobiles.
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is an lvalue in c?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
what is uses of .net
What is the purpose of 'register' keyword in c language?
What is meant by preprocessor in c?
What is a macro?
What is the use of pointers in C?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
How do shell structures work?
What is struct node in c?
What are the 4 types of unions?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Which is better malloc or calloc?