what is the difference between postfix and prefix unary
increment operators?
Answer Posted / rukmanee
In prefix operator,the value of the operand increase by one
and then assign the new value to that operand and print
it.In postfix operator,the value of the operand is assigned
at first and then increment it's value by one.
This is the difference between postfix and prefix unary
increment operators.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How many levels of pointers can you have?
Is c dynamically typed?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
Why are algorithms important in c program?
Why does not c have an exponentiation operator?
What are lookup tables in c?
Can you explain the four storage classes in C?
Describe the difference between = and == symbols in c programming?
cavium networks written test pattern ..
What is putchar() function?
What is the purpose of 'register' keyword?
What is the difference between NULL and NUL?
What is an lvalue in c?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Is null always defined as 0(zero)?