Interview Questions   Tutorials   Discussions   Programs   

C - Wap to print "hello world" without using the main function?




319
views
asked marvit August 20, 2014 10:24 AM  

Wap to print "hello world" without using the main function?


           

1 Answers



 
answered By bhjahnavi   0  
/* program to print a message hello world with out using main function*/
#include<stdio.h>
#define expert main
void expert()
{
   printf("HELLO WORLD");
}
output
HELLO WORLD
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert