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...

Can we write a program without main() function?

Answer Posted / rajkumar

I think its possiblle through macros ....like this

#define main() start
start
{
printf("Hai");
}

Is This Answer Correct ?    8 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the steps to insert data into a singly linked list.

1077


Explain how can a program be made to print the line number where an error occurs?

1219


Explain what are the standard predefined macros?

1120


What is ## preprocessor operator in c?

1089


What are the different types of endless loops?

1082


Explain how do you convert strings to numbers in c?

1082


What are local static variables?

1154


Write a program which returns the first non repetitive character in the string?

1127


What does %2f mean in c?

1226


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1283


What is getch?

1192


Write a program to check prime number in c programming?

1095


Explain built-in function?

1141


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

1298


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2881