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 DEFINE ANY FUNCTION WITHIN A FUNCTION.

Answer Posted / aparna

no....we cant define a function with in another
fn......Insteadwe can declare a function..
ex:
void main()
{
int fun(int); // this is declaration
fun(3); // this is fn. calling
}



int fun(int a) //this is fn.definition
{


}

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is null valid for pointers to functions?

1129


What is the purpose of main( ) in c language?

1112


What are near, far and huge pointers?

1025


What is an array? What the different types of arrays in c?

1126


Why isnt any of this standardized in c?

1038


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

1035


What is a void * in c?

1036


What is the right type to use for boolean values in c?

1006


What is the significance of scope resolution operator?

1370


What is selection sort in c?

1036


What are run-time errors?

1071


how to write a c program to print list of fruits in alpabetical order?

2255


Explain how do you list files in a directory?

1033


What are loops c?

1009


How do I round numbers?

973