Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
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