itz really very simple.......u just have to use the printf() method as an argument of a conditional loop i.e. while(), if(), switch()......
Method1:
void main()
{
if(printf("Hello world")){
}
}
Method2:
void main(){
while(!printf("Hello world")){
}
}
Method3:
void main(){
switch(printf("Hello world")){
}
}