Forgive my ignorance, but what is the significance of the statementCode:#include<stdio.h> int main() { float a=3.14; char *j; j = (char*)&a; printf("%d\n", *j); return 0; }
j= (char*)&a; .
How is it different from j=&a? Why does it output the ASCII values of the first bye of the float variable rather than the value of a?
Thanks in advance.