void main()
{
int i;
char a[]="\0";
if(printf("%s\n",a))
printf("Ok here \n");
else
printf("Forget it\n");
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
Ok here
Explanation:
Printf will return how many characters does it print. Hence
printing a null character returns 1 which makes the if
statement true, thus "Ok here" is printed.
Is This Answer Correct ? | 14 Yes | 4 No |
Answer / rahul bagale
Ans :Forget it
Explation:
'