Why doesn't C have nested functions?

Answers were Sorted based on User's Feedback



Why doesn't C have nested functions?..

Answer / bonu.satishkumar

C is only pop but not OOP's. so C havn't nested functions.
The meaning of NESTED FUNCTION is "a function is existed
in the another function".

Is This Answer Correct ?    0 Yes 5 No

Why doesn't C have nested functions?..

Answer / phani kumar s

we have the power ful recursion.

the function to be terminate at one place which may be
difficult in this.

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More C Interview Questions

What are local variables c?

0 Answers  


Write a c program for sum of first n terms of the series S = 1 - (1/3) + (1/5) -(1/7) + (1/9) ......

2 Answers  


can we write a program in c for printf and scanf without using header file stdio.h

1 Answers  


The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters

0 Answers  


Why does not use getgh(); and <conio.h> in c language.

3 Answers   Elofic,






difference between ordinary variable and pointer in C?

2 Answers  


What is floating point constants?

0 Answers  


what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }

1 Answers   Google,


what will be the output of this program main() { int i=1; while (i<=10); { i++; } }

11 Answers  


what is the use of operator ^ in C ? and how it works?

2 Answers  


what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1

0 Answers  


What are the advantages of the functions?

0 Answers  


Categories