Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~375 People Reached
Favorite Forums
Favorite Tags
Member Avatar for c_newbie1

this program i made.. should take an input 'no' from the user.. and print the following pattern.. 0 0 n+1 0 n+1 n+2 0 n+1 n+2 n+3 0 n+1 n+2 n+3 n+4 ....... n 0 n+1 n+2 n+3 n+4.. n-1 0 n+1 n+2 n+3 n+4 0 n+1 n+2 n+3 0 …

Member Avatar for thekashyap
0
240
Member Avatar for c_newbie1

[CODE]#include<stdio.h> #include<conio.h> int main() { int no; scanf("%d", &no); printf("%d %d", no,no++); getch();return 0; }[/CODE] the output of this program is '4 3'.. my questino is WHY? this program should first print the number which is entered.. and then when it prints the next number it should add 1 to …

Member Avatar for c_newbie1
0
135