CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION.

Answer Posted / chandan patel

absolutely no......
u can't do this....u can only declared and call a function
inside a function....

i m appealing to those people who r saying 'yes' that please
don't misguide other....if u don't know correct stuff.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

699


How can you tell whether two strings are the same?

821


Explain the difference between strcpy() and memcpy() function?

584


Write a program with dynamically allocation of variable.

598


What is scope and lifetime of a variable in c?

566






Process by which one bit pattern in to another by bit wise operation is?

608


The __________ attribute is used to announce variables based on definitions of columns in a table?

663


Explain the priority queues?

617


What are different types of pointers?

557


What is an arrays?

646


How can I do peek and poke in c?

611


Can math operations be performed on a void pointer?

581


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

554


Distinguish between actual and formal arguments.

582


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

797