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

What is the use of header?

1095


What are data structures in c and how to use them?

1174


Tell me when would you use a pointer to a function?

1067


Why doesnt the call scanf work?

1196


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

1208


In a header file whether functions are declared or defined?

1128


stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.

2471


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

1104


Why we use conio h in c?

1242


how to execute a program using if else condition and the output should enter number and the number is odd only...

2307


What are directives in c?

974


Do you know the use of 'auto' keyword?

1204


Can you please explain the scope of static variables?

1063


how many key words availabel in c a) 28 b) 31 c) 32

1083


How can I write a function analogous to scanf?

1188