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

What are structures and unions? State differencves between them.

1172


Explain Basic concepts of C language?

1152


What is array of structure in c programming?

1289


in iso what are the common technological language?

2111


Explain how do you print only part of a string?

1214


What are the advantages of using linked list for tree construction?

1085


Differentiate between declaring a variable and defining a variable?

1036


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

2180


given post order,in order construct the corresponding binary tree

2781


How can I implement sets or arrays of bits?

1045


What is the difference between single charater constant and string constant?

1086


What are the differences between new and malloc in C?

1141


What does a pointer variable always consist of?

1098


What is variable initialization and why is it important?

1254


What are the various types of control structures in programming?

1058