retagged by
230 views
0 votes
0 votes
i dont know why the answer is not coming for the following snippet. I COULD NOT UNDERSTAND EXPLAINATION IN YASHWANT KANETKAR BOOK

int main()

{

float x=1.1;

while(x==1.1)

{

printf(“%f\n”,x);

x=x-0.1;

}

return0;

}
retagged by

1 Answer

Related questions

1 votes
1 votes
1 answer
2
ermp888 asked Jun 30, 2018
847 views
(5) Would the following program give a compilation error or warning?main() { float i = 10, *j; void *k; k=&i; j= k; printf("\n%f", *j); }
0 votes
0 votes
2 answers
3
ermp888 asked Jun 27, 2018
1,665 views
Can you write another expression which does the same job as ++*ptr ?