Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tijoriwalaritesh

    cant understand this output?

    Below is a simple program. int i = 0; printf("%d %d %d %d", i++, i==1, i, ++i) Its giving this output: On Sun Solaris 8: 0 1 2 2 On Linux: 1 1 1 1 On Windows: 0 1 1 2 Can any one explain me how the compiler behaves in any particular case. I know the code is compiler dependent. Lets assume on...

Part and Inventory Search

Back
Top