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
Ranked #4K
~3K People Reached
About Me

student

13 Posted Topics

Member Avatar for Dani

that is simple ++i means pre increment. i++ means post increment. consider the programme main() { int a=7; printf("%d\t%d\t%d\t%d\t",++a,a++,++a,a++); printf("%d\n"a); getch(); } the output is 10 10 8 8 11 a++ here increments the value and shows it but ++a increments the value and gives it for next operation.ie ++a …

Member Avatar for WaltP
0
661
Member Avatar for let us c

hi i want to display pascals triangle on computer screen.the pascals triangle goes like this. and what is logic. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 and so on.

Member Avatar for sunyifei23
0
161
Member Avatar for Sukhbir

consider the statement : printf("%d%d%d",i++,i++,i++); (p) (q) (r) let the right most i++ be r and.... first of all the processeing in the above printf statement starts from right(ie r) now i++ means post increment. now r carries the value 1 but increments the value and gives it to q(ie …

Member Avatar for sanagopi
-1
235
Member Avatar for Kerry

reverse(int n) { long sum=0;int rem; while(n>0) {rem=n%10; sum=sum*10+rem; n=n/10;} return sum; main() ................................ hope u can do it from here.good luck.

Member Avatar for c0ld sn1ff3r
0
509
Member Avatar for Sukhbir
Member Avatar for smithag261

amstong numer means when u add the cubes of digits of number u should get the number.ex:407=4^3+0^3+7^3

Member Avatar for Dave Sinkula
1
215
Member Avatar for let us c

hi i think some guys here do not matter to see their messages(as told at the beggining).does this happen to any one of you.if it did happen what did you do.does the management check these things out??? :?: :?:

Member Avatar for Catweazle
0
90
Member Avatar for Sukhbir
Member Avatar for let us c
1
152
Member Avatar for let us c

hi i want to get following output. 1 2 2 2 3 3 3 3 3 4 4 4 4 4 4 4 and so on in 1st row one 1 in 2nd three 2 in 3rd five 3 in 4rt seven 4 in 5th nine 5 (all odd outputs)

Member Avatar for let us c
0
96
Member Avatar for kalinga

that means for every value of x u will have x values of y. the loop inside is execcted x times more than the outsideloop.

Member Avatar for alc6379
0
107
Member Avatar for dominator

i think u have problem with system file.u again start installing ur xp in same folder and repair it.it will solve the problem.

Member Avatar for dominator
0
183
Member Avatar for let us c
Member Avatar for smithag261

the condition must be: if((y%4==0&&y%100!=0)!!(y%400=-0)) pf("leap year") ......it goes like this

Member Avatar for let us c
0
159

The End.