Computer Science, asked by sowmyagunti0055, 1 month ago

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 abdullahshybu2007
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