Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~549 People Reached
Favorite Forums
Favorite Tags
c++ x 2
c x 1
Member Avatar for ostkaka

Hello, I wonder if someone wan´t to learn C++ with me on msn or here. I started with a tutorial in C++ but I got stuck, so I thougt it would be better if I learned it with someone else who also want´s to learn C++. So if you are …

Member Avatar for wingwarp
0
111
Member Avatar for TJW

Why is the last element not 7 [Code] int array[3]; int *ary; ary=array; array[0]=0; array[1]=0; array[2]=0; array[3]=44; for (int i=0;i<4;i++) { cout<<array[i]; } cout<<endl; *(ary+0)=1; *(ary+1)=0; *(ary+2)=0; *(ary+3)=7; for (int i=0;i<4;i++) { cout<<array[i]; } cout<<endl; [/CODE] Output 00044 1003<-----------------Why 3 and not 7!!!!!!

Member Avatar for Dave Sinkula
0
188
Member Avatar for joshilay

can anyone please tell me why following output is generated ... int i=10; printf(" %d ",i++/i); // output=0 i=10; printf("%d",i/++i); //output=1 i=10; printf("%d ",i++/++i); //output =0 i=10; printf("%d",++i/i); //output=1

Member Avatar for joshilay
0
187
Member Avatar for sagar arora

hi to all.i am new to this forum.i dont know how it works.but i want to know that if i am having some problem then who will answer me and how

Member Avatar for WolfPack
0
63