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 the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555

3004


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3636


Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.

1947


Why is this loop always executing once?

999


Write a progarm to find the length of string using switch case?

2026


Why can’t we compare structures?

1226


Should I learn data structures in c or python?

976


Is array name a pointer?

994


i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....

1917


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3457


How do you do dynamic memory allocation in C applications?

1045


Explain the difference between ++u and u++?

1068


Why we use void main in c?

1099


5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

2040


What are type modifiers in c?

1000