btw, true is defined in cpp. On Mon, Mar 28, 2011 at 12:54 PM, Umer Farooq <the.um...@gmail.com> wrote:
> The compiler doesn't want to get killed like poor > mani<http://www.allvoices.com/s/event-8408191/aHR0cDovL2JsYWNrY29icmEucG9zdGVyb3VzLmNvbS9leHRyZW1pc3QtaW5kaWEta2lsbHMtdGhlLXBvb3ItcGFycm90LWZvci1wcmU=>, > therfore it is giving a compiler error :P > > > On Mon, Mar 28, 2011 at 10:43 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. >> > > > > -- > Umer > -- 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.