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
Do character constants represent numerical values?
What is a protocol in c?
what is the basis for selection of arrays or pointers as data structure in a program
How does struct work in c?
what are the facialities provided by you after the selection of the student.
Explain the advantages and disadvantages of macros.
Write a program to identify if a given binary tree is balanced or not.
How can you restore a redirected standard stream?
Explain how do you declare an array that will hold more than 64kb of data?
What is a pointer value and address in c?
Do you know what are bitwise shift operators in c programming?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What is the use of ?
What is cohesion in c?