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
0 Endorsements
~541 People Reached
Favorite Forums
Favorite Tags
c++ x 4
c x 1
Member Avatar for dasari.prasad

When to use pointers and when to use references in c++. plz clear my doubt.. thnks in advance

Member Avatar for ben1Greer
0
415
Member Avatar for dasari.prasad

Can anyone clear this doubt..?? First C compiler program compiled on which compiler..??? [QUOTE=soumya.ranjan;1299650]void main() { int x=4,i; i=fun(x=x/4); printf("%d",i); } int fun(int c) { return c/2; } the answer is 1...how??please reply ....[/QUOTE] that prog doesn't give output 1. definitely output will be 0 only. because fun returns 1/2 …

Member Avatar for Narue
-1
126