if u are still wondering why its like this a pointer is address to some location. so wen u initalize a pointer directly with some data that data...
a small careless error the return value is 5 not 4 :)
Its known tht printf returns an int value and its no of characters it prints here printf("hello") will return 4 and !4 is 0,so else part will...
all pointer initialized data is treated as constant and is stored in read only segment!!!..this is c convention and not a problem with compiler...
u are getting the error because string init at declaration is treated as constant and is stored in read only segment .So when you are trying to...
Static variable out side function have file scope and life time through out the program. i.e static variable will be accessible in the file its...
this question does have nothing to do with programming standards.tather,its purely logical question for c experts :)
if(!printf(hello")) will do the trick :)
Separate names with a comma.