true is a keyword representing 1 and false as 0. The program will print the
line a single time.

On Mon, Mar 28, 2011 at 11:13 AM, balaji a <peshwa.bal...@gmail.com> wrote:

> the code will give error as there is nothing called "true" defined.....
>
> On Sun, Mar 27, 2011 at 10:38 PM, Umer Farooq <the.um...@gmail.com> wrote:
>
>> Hi,
>>
>> Can anyone tell me the output of the following code?
>>
>> #include <iostream.h>
>>
>> int main()
>> {
>> ...... if (true)
>> .............. cout << "Pakistan will win the WorldCup 2011\n";
>> ........return 0;
>> }
>>
>> --
>> Umer
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algogeeks@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> A.Balaji
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to