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

main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }

3 Answers  


Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80

0 Answers  


Write a progarm to find the length of string using switch case?

0 Answers   TCS,


What is a function in c?

0 Answers  


#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  






Why can't I perform arithmetic on a void* pointer?

0 Answers  


What is the sizeof () a pointer?

0 Answers  


in a town the percentage of men is 52 the percentage of total literacy is 48 if total percentage of literate men is 35 of the total population write a program to find the total no of the literate men and women if the population of the town is 80000

3 Answers  


sir i got 146 correct question & i have also the advantage of height so will they consider my marks as 146+3=149.can any body tell me how they consider my height marks.

1 Answers  


What is void main ()?

0 Answers  


What is the difference between #include and #include 'file' ?

0 Answers  


HOW TO SWAP TWO NOS IN ONE STEP?

16 Answers   Satyam,


Categories