Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 getch() function?

1020


What is the purpose of main( ) in c language?

1108


What are the 5 elements of structure?

1050


What is string function c?

980


Which is better between malloc and calloc?

1138


Explain what standard functions are available to manipulate strings?

1040


What are the application of void data type in c?

1151


What is difference between %d and %i in c?

1191


Write a program to print ASCII code for a given digit.

1054


Explain what is operator promotion?

1039


Why can't I perform arithmetic on a void* pointer?

1063


Write a program to swap two numbers without using the third variable?

1032


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2486


How do I convert a string to all upper or lower case?

1067


Explain about the functions strcat() and strcmp()?

1003