Computer Science, asked by shrutijain9211, 3 months ago

explain briefly incrementation operator in Python with examples​

Answers

Answered by surbhi8542
0

Answer:

Increment operator can be demonstrated by an example: #include <stdio.h> int main() { int c=2; printf("%d\n", c++); // this statement displays 2, then c is incremented by 1 to 3. printf("%d", ++c); // this statement increments c by 1, then c is displayed.

Similar questions