What is the process to create increment and decrement stamen in c?



What is the process to create increment and decrement stamen in c?..

Answer / Satyajeet Singh

"In C, there are two types of operators for incrementing and decrementing: pre-increment (++), post-increment (++), pre-decrement (--), and post-decrement (--). Pre-increment and pre-decrement operators increment or decrement the variable before using it in an expression, while post-increment and post-decrement operators do so after using it in an expression."n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what would be the output of the following program main() { int a[] = {1,2,3,4,5}; int *ptr = {a,a+1,a+2,a+3,a+4}; printf("%d %d %d %d",a,*ptr,**ptr,ptr); } }

1 Answers  


How to print all the 26 alphabets in this order in C. AbCdEfGh..... it should print dynamically from a to z and do not print this using pgm like this print("Ab......"); Use loops or anything to print all alphabets

2 Answers   Hexaware,


Magic square

0 Answers  


What is substring in c?

1 Answers  


What are pointers? Why are they used?

1 Answers  


Ow can I insert or delete a line (or record) in the middle of a file?

1 Answers  


name the language for writing c compiler?

3 Answers   Microsoft,


c program to subtract between two numbers without using '-' sign and subtract function.

2 Answers  


What are macros in C?

2 Answers  


What is the difference between volatile and const volatile?

1 Answers  


c program to manipulate x=1!+2!+3!+...+n! using recursion

1 Answers   TCS,


Why is c fast?

1 Answers  


Categories