// a code which prints "hello world"
#include<stdio.h>
int main()
{
(&printf)("hello world");
return 0;
}
why does the above code work?
#include<stdio.h>
int main()
{
char str1[]="hello";
int j=762;
char str2[]="hello";
if(str1==str2)
printf("true %d\n",--j);
else
printf("\nfalse %d\n",j--);
return 0;
}
//the above code prints "false 762", why?
I am new to C programming and I came across this in a programming contest in my college.