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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -