wap to print "hello world" without using the main function.

Answer Posted / hemanthkumar

#include<stdio.h>
#define hemanth main
public hemanth()
{
printf("hello world");
}

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What Is The Difference Between Null And Void Pointer?

645


What is restrict keyword in c?

646


What is sizeof array in c?

596


What is a nested loop?

652


When is the “void” keyword used in a function?

840






In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

771


Define recursion in c.

703


Do you have any idea how to compare array with pointer in c?

605


Is c call by value?

608


What are header files and what are its uses in C programming?

639


How can I automatically locate a programs configuration files in the same directory as the executable?

633


Explain how do you generate random numbers in c?

627


Explain zero based addressing.

610


Explain how do you declare an array that will hold more than 64kb of data?

905


What does it mean when a pointer is used in an if statement?

603