Hi all,
The answer of Venki is ONLY correct answer. As well as the explanation given by Venki is absolutely correct as per C++ language is concern. Inded i validated the result on VS2005.
...
Type: Posts; User: neerajc07; Keyword(s):
Hi all,
The answer of Venki is ONLY correct answer. As well as the explanation given by Venki is absolutely correct as per C++ language is concern. Inded i validated the result on VS2005.
...
for the above code "printf("%d %d");" you will get the output as 0 0 and not 20 10.
I have validated the same on VS2005.
If you are getting outpur as 20 10 then you must have used "printf("%d %d",...