c - what is the o/p of that program & how it happenes -
possible duplicate:
confusion output..
#include<stdio.h> void main() { int i=1,j=-1; if(printf("%d",i)<printf("%d",j)) printf("%d",i); else printf("%d",j); }
here in program output & how ?
printf
returns total number of characters written. "-1" longer "1". so…
Comments
Post a Comment