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
What is optimization in c?
Explain About fork()?
How do you print only part of a string?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
What does c mean before a date?
Write a program of advanced Fibonacci series.
will u please send me the placement papers to my mail???????????????????
What is scanf_s in c?
Difference between pass by reference and pass by value?
What are the types of bitwise operator?
application attempts to perform an operation?
What is c programing language?
Explain what does the format %10.2 mean when included in a printf statement?
What is the difference between a function and a method in c?
what is bit rate & baud rate? plz give wave forms