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

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -