-
Expert Member
Re: Reason for the following programm's output!
you must write it as
printf("%d %d",a,b);
or it may also happen that you have written
printf("%d %d",b,a);
-
Junior Member
Re: Reason for the following programm's output!
if u r written exactly the code u r showing then its not known what value is printed cuz its just compiler dependent that when it does not find the value to be printed for a format specifier, then what shud it do?
and otherwise if u have written printf("%d%d",b,a);
then the result is right.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules