adplus-dvertising
frame-decoration

Question

The following program outputs
main ()
 {
   float a = .5, b = .7;
   if (b < .7)
{
     if (a < .5)

          printf("TELO");
      else
           printf("LTTE");

}
    else printf("JKLF");
 }

a.

LTTE

b.

TELO

c.

JKLF

d.

PLO

Posted under C Programming

Answer: (a).LTTE

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The following program outputs

Similar Questions

Discover Related MCQs

Q. The statement

printf ("%d", 10 ? 0 ? 5 : 11 : 12 ) ;

prints

Q. The statement

printf ("%d", ++5) ;

prints

Q. The statement

printf ("%d", ( a++) ) ;

prints

Q. The statement

printf ( "%d" , sizeof (" "'));

prints

Q. If following variables are set to the values as shown below, then what is the value of the expression following it?

answer=2;
marks=10;

!((answer2))

Q. Consider following statements:

putchar(getchar());
putchar(getchar());

If
a
b
is the input, then output will be

Q. What will be the value of x and y after execution of the following statement (C language)
n ==5;x=n++;y=-x;?

Q. In a 'C' program, constant is defined

Q. Printf("%d"printf("tim"));

Q. What does the statement

printf("%d",10?0?5:1:12);

prints :

Q. Find the output of the following :
for (i=1,j=10;i

Q. For x and y are variables as declared below
double x=0.005,y=-0.01;
What is the value of ceil(x+y)

Q. The for statement can precede a loop to be executed 50 times or till a boolean variable "found" become false is given by

Q. What is an Escape Sequence in C language?

Q. Choose a correct statement about C Escape Sequences.

Q. What is a format specifier in C language?

Q. Choose a valid C format specifier.

Q. Choose a correct statement about C format Specifiers.

Q. Choose a correct statement about format specifiers.

Q. What does C format specifier %W.D represent?