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

Main must be written as
a.the first function in the program
b.Second function in the program
c.Last function in the program
d.any where in the program

Answer Posted / iftekhar qurashi

last function in the program to avoid prototyping.
if we write it as a first function and other functions is declared after main(), then main function can't find it.

but it can be declared anywhere in the program when we declared every function except main() in the beginning of program

for other consultancy you can mail me

regards
iftekhar qurashi

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write program to remove duplicate in an array?

1026


Why string is used in c?

954


Write a program to print factorial of given number without using recursion?

951


State two uses of pointers in C?

1009


When should volatile modifier be used?

954


Write a simple code fragment that will check if a number is positive or negative.

1101


What is array of pointers to string?

1000


What are valid signatures for the Main function?

1170


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1722


How to declare pointer variables?

1165


regarding pointers concept

1980


Why calloc is better than malloc?

973


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

1070


What is a structure member in c?

956


What is hash table in c?

972