What is the ouput of below program
#include <stdio.h>
void main()
{
float x = 0.1;
if (x == 0.1)
printf("float expression - ")
else
printf("expression not successful - ");
if (x == 0.1f)
printf("float expression");
else
printf("expression not successful");
}
float expression - float expression
O float expression - expression not successful
expression not successful - float expression
expression not successful - expression not successful
(1 point)
Not Yet Answered
Control Panel
Go to:
*Page 2122 Question 1
Next Page
Answers
Answered by
0
Answer:
What is the ouput of below program
#include <stdio.h>
void main()
{
float x = 0.1;
if (x == 0.1)
printf("float expression - ")
else
printf("expression not successful - ");
if (x == 0.1f)
printf("float expression");
else
printf("expression not successful");
}
float expression - float expression
O float expression - expression not successful
expression not successful - float expression
expression not successful - expression not successful
(1 point)
Not Yet Answered
Control Panel
Go to:
*Page 2122 Question 1
Next Page
Similar questions
English,
27 days ago
Psychology,
27 days ago
Social Sciences,
27 days ago
Social Sciences,
1 month ago
English,
1 month ago
Science,
9 months ago