what is the output of the following program?
#include<stdio.h>
void main()
{
float x=1.1;
while(x==1.1)
{
printf("\n%f",x);
x=x-0.1;
}
}
Answer Posted / gangadhar
first time loop will satisfy and second time loop will
not satisfy bcoz x become zero....
| Is This Answer Correct ? | 0 Yes | 17 No |
Post New Answer View All Answers
Tell me when is a void pointer used?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What are the primitive data types in c?
What is a macro in c preprocessor?
Write a program to show the change in position of a cursor using c
What is a ternary operator in c?
How does struct work in c?
What is a program flowchart and explain how does it help in writing a program?
Explain what will the preprocessor do for a program?
Explain indirection?
What is c standard library?
how to count no of words,characters,lines in a paragraph.
How can I swap two values without using a temporary?
What are multidimensional arrays?
Why do we write return 0 in c?