12345678910



Question 1: Which of the statements is correct about the program?

#include<stdio.h>

int main()
{
float a=3.14;
char *j;
j = (char*)&a;
printf("%d ", *j);
return 0;
}

1. It prints ASCII value of the binary number present in the first byte of a float variable a.
2. It prints character equivalent of the binary number present in the first byte of a float variable a.
3. It will print 3
4. It will print a garbage value