Wrox Programmer Forums
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 7th, 2007, 07:45 AM
Registered User
 
Join Date: Sep 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default question urgent

1) if b=5;
then why value of c=++b + ++b and cout<<++b + ++b;
differ. for first case answer is 14 and for second one is 13.

2)why scope resolution,sizeof can't be overloaded?



Reply With Quote
  #2 (permalink)  
Old October 10th, 2007, 11:28 PM
Authorized User
 
Join Date: May 2007
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Peter_APIIT
Default

Your second question answered in this website.

http://www.parashift.com/c++-faq-lite/

Linux is the best OS in the world.
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
question on xslt templates -- urgent subbukns XSLT 1 May 21st, 2007 05:17 PM
Classic ASP question. Urgent !!! victorv Classic ASP Basics 0 September 25th, 2006 10:22 AM
very urgent question bsd Other Programming Languages 0 May 13th, 2006 09:55 AM
ASP launching exe question - URGENT! Rammek Classic ASP Basics 2 October 26th, 2004 05:30 PM
Urgent Question Ben Horne Flash (all versions) 4 April 26th, 2004 04:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.