What do we call a function inside a function?
A. Double function
B. Nested function
C. Switch function
D. Loop function
Answers
Answered by
0
hi mate
here is your answer
option B
nested loop
I hope this will help you
Answered by
1
ANSWER : B
A nested function is a function which is present inside another function.
EXTRA INFO :
⏩ The function is a part of a program which helps us to perform certain tasks .
⏩ Every C++ program should contain a starting function main() . This is not mandatory in updated JAVA versions however .
⏩ We can use the reusability of a function and also the principle of polymorphism using functions .
⏩ The syntax of C++ function is :
int main()
{
// YOUR CODE
return 0;
}
⏩ The syntax of JAVA function is :
void main()
{
//YOUR CODE
}
⏩ Note that datatype "void" does not return anything .
Similar questions