Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~508 People Reached
Favorite Forums
Favorite Tags
c x 4
Member Avatar for aravindm

int main() { unsigned int i=65000; while ( i++ != 0 ); printf("%d",i); return 0; } The output for this program is 1 can anyone explain me how I got this output? Thanks in advance.

Member Avatar for rproffitt
0
162
Member Avatar for aravindm

main() { int i=5; printf("%d%d%d%d%d",i++,i--,++i,--i,i); } Answer: 45545 Thanks in advance.

Member Avatar for Moschops
0
195
Member Avatar for aravindm

I was asked to write a program to eliminate the reoccurrence of numbers in an interview? For example if I give the input as 2233555697 then the output should be 235697

Member Avatar for Mayukh_1
1
151