Skip to content

Commit 7c6a559

Browse files
committed
user input
1 parent e7c0081 commit 7c6a559

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

increment_operator.txt

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include<stdio.h>
2+
int main(){
3+
4+
5+
int i;
6+
i=3;
7+
8+
i++;
9+
i++; //increment operator
10+
i++;
11+
// i=6
12+
++i;
13+
printf("AFTER INCREMENT NUMBER IS %d \n", ++i);
14+
printf("AFTER INCREMENT NUMBER IS %d \n", i);
15+
16+
return 0;
17+
}

0 commit comments

Comments
 (0)