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 / manne ranjith

Using Macros we can solve this.

#include<stdio.h>
#include<conio.h>

#define manne main

void manne()
{
clrscr();
printf("HELLO WORLD\n");
getch();
}

Is This Answer Correct ?    27 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the easiest sorting method to use?

1108


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

3462


What are the applications of c language?

1019


Explain how can a program be made to print the name of a source file where an error occurs?

1143


What is boolean in c?

1044


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2285


What is the process of writing the null pointer?

987


Can a variable be both const and volatile?

1077


using for loop sum 2 number of any 4 digit number in c language

2270


write a program to generate address labels using structures?

4526


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

2054


Where define directive used?

1039


Is main an identifier in c?

1092


What is the difference between text files and binary files?

1298


What are local static variables? How can you use them?

1086