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

The file stdio.h, what does it contain?

1154


Why should I use standard library functions instead of writing my own?

1263


What is uint8 in c?

1102


What are the primitive data types in c?

1070


number of times a digit is present in a number

2037


What is the benefit of using an enum rather than a #define constant?

1233


Explain how are 16- and 32-bit numbers stored?

1265


Is it better to bitshift a value than to multiply by 2?

1092


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

3964


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1063


How can type-insensitive macros be created?

1168


Is array a primitive data type in c?

1055


When can a far pointer be used?

1021


What is nested structure?

1035


Explain about the constants which help in debugging?

1371