for(i=0;i=printf("Hello");i++);
printf("Hello");
how many times how will be printed?????????
Answer Posted / ruchi
Infinite times
i =printf("Hello");
here printf("hello") will return 5 i.e i=5 which will always
remain true that's why hello will be printed infinate times.
| Is This Answer Correct ? | 23 Yes | 6 No |
Post New Answer View All Answers
The difference between printf and fprintf is ?
Can a variable be both const and volatile?
What is fflush() function?
What is pointers in c?
How can you call a function, given its name as a string?
What is the size of structure pointer in c?
Why we write conio h in c?
how can I convert a string to a number?
Why cant I open a file by its explicit path?
Can we declare function inside main?
What are header files and what are its uses in C programming?
What is getche() function?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What is a MAC Address?
What does c in a circle mean?