This is a discussion on Reason for Output within the C and C++ forums, part of the Programming Talk category; I have a C program as for(i=1;0;i++) { printf("Hello"); } I thought there would be ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Reason for Output
I have a C program as
for(i=1;0;i++) { printf("Hello"); } I thought there would be no output but I found in the book I studied the answer given as Hello printed once. Is this a printing error or can anyone explain the reason for the same. |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kindly provide the Reason | Angela | Oracle Database | 2 | 12-28-2006 03:48 PM |
| Reason for the Choice of Operating System | Angela | Linux | 0 | 12-12-2006 04:19 AM |
| Need Technical reason | priyaraji | Coldfusion | 0 | 12-07-2006 01:46 AM |