Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: send message to window Pin
Rajesh R Subramanian8-Jun-09 0:26
professionalRajesh R Subramanian8-Jun-09 0:26 
General[Message Deleted] Pin
trioum8-Jun-09 1:59
trioum8-Jun-09 1:59 
GeneralRe: send message to window Pin
Rajesh R Subramanian8-Jun-09 2:06
professionalRajesh R Subramanian8-Jun-09 2:06 
GeneralRe: send message to window [modified] Pin
trioum8-Jun-09 2:32
trioum8-Jun-09 2:32 
GeneralRe: send message to window Pin
Rajesh R Subramanian8-Jun-09 2:57
professionalRajesh R Subramanian8-Jun-09 2:57 
GeneralRe: send message to window [modified] Pin
trioum8-Jun-09 3:04
trioum8-Jun-09 3:04 
GeneralRe: send message to window [modified] Pin
trioum9-Jun-09 18:53
trioum9-Jun-09 18:53 
QuestionOutput of the simple question [modified] Pin
shubhi7-Jun-09 23:44
shubhi7-Jun-09 23:44 
Hi,
what would be the output of following code:

main()
{
int a=1;
printf ("%d", a+=(a+=3,5,a));
}


In VC++ it is showing output: 8
In AS/400’s C showing output: 5

If it is complier dependent, plz tell me the logic of both the answers.

"We can't solve problems by using the same kind of thinking we used when we created them"

modified on Monday, June 8, 2009 6:08 AM

AnswerRe: Output of the simple question Pin
CPallini8-Jun-09 0:19
mveCPallini8-Jun-09 0:19 
GeneralRe: Output of the simple question Pin
molesworth8-Jun-09 0:38
molesworth8-Jun-09 0:38 
AnswerRe: Output of the simple question Pin
Rajesh R Subramanian8-Jun-09 0:21
professionalRajesh R Subramanian8-Jun-09 0:21 
GeneralRe: Output of the simple question Pin
shubhi8-Jun-09 0:40
shubhi8-Jun-09 0:40 
GeneralRe: Output of the simple question [modified] Pin
Rajesh R Subramanian8-Jun-09 0:48
professionalRajesh R Subramanian8-Jun-09 0:48 
GeneralRe: Output of the simple question Pin
CPallini8-Jun-09 0:57
mveCPallini8-Jun-09 0:57 
GeneralRe: Output of the simple question Pin
Rajesh R Subramanian8-Jun-09 1:02
professionalRajesh R Subramanian8-Jun-09 1:02 
GeneralRe: Output of the simple question Pin
Anoop Dashora8-Jun-09 1:14
Anoop Dashora8-Jun-09 1:14 
GeneralRe: Output of the simple question [modified] Pin
CPallini8-Jun-09 1:32
mveCPallini8-Jun-09 1:32 
GeneralRe: Output of the simple question Pin
Rajesh R Subramanian8-Jun-09 1:15
professionalRajesh R Subramanian8-Jun-09 1:15 
AnswerRe: Output of the simple question [modified] Pin
Stuart Dootson8-Jun-09 2:22
professionalStuart Dootson8-Jun-09 2:22 
QuestionHow to Open MyStore of Certificates Pin
UserNameless7-Jun-09 22:55
UserNameless7-Jun-09 22:55 
AnswerRe: How to Open MyStore of Certificates Pin
Chandrasekharan P8-Jun-09 0:03
Chandrasekharan P8-Jun-09 0:03 
GeneralRe: How to Open MyStore of Certificates Pin
UserNameless8-Jun-09 0:10
UserNameless8-Jun-09 0:10 
GeneralRe: How to Open MyStore of Certificates Pin
Chandrasekharan P8-Jun-09 0:18
Chandrasekharan P8-Jun-09 0:18 
GeneralRe: How to Open MyStore of Certificates Pin
UserNameless8-Jun-09 0:29
UserNameless8-Jun-09 0:29 
QuestionGet Bitmap* CBitmap* of current view Pin
Anuj Sharma7-Jun-09 22:35
Anuj Sharma7-Jun-09 22:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.