View Full Version : How to print "TEXT" without using semicolon
ThinkFree
25-02-2008, 10:42 PM
Please tell how can I type HELLO WORLD in a c program without using any semicolon. I found this and tried running but compiler showed error
#include<stdio.h>
main()
{
if(Printf("Hello World!!!"))
}
Garbage
25-02-2008, 10:49 PM
try using MACRO ??
Pathik
25-02-2008, 10:54 PM
#include<stdio.h>
main()
{
if(printf("Hello World!!! \n"))
}
should work.
QwertyManiac
25-02-2008, 10:56 PM
Try this:
#include<stdio.h>
main()
{
if(printf("Hello World!!!"))
{
}
}
Garbage
25-02-2008, 10:58 PM
Here is the solution...
ohh....
QwertyManiac... u stole my solution !! :(
khattam_
26-02-2008, 03:10 AM
03-02-2008, 08:01 AM
http://www.thinkdigit.com/forum/showthread.php?t=70697&page=10
Peace
ThinkFree
27-02-2008, 11:23 AM
Thanks for all the replies. solution give be QWERTYManiac worked
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.