Why doesn't C have nested functions?
Answers were Sorted based on User's Feedback
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 |
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 |
main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }
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
Write a progarm to find the length of string using switch case?
What is a function in c?
#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
Why can't I perform arithmetic on a void* pointer?
What is the sizeof () a pointer?
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
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.
What is void main ()?
What is the difference between #include and #include 'file' ?
HOW TO SWAP TWO NOS IN ONE STEP?