can we declare a function in side the structure?

Answer Posted / savita

It can be possible in C++, but not in C.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

810


What is the difference between far and near ?

940


What is fflush() function?

897


What are the different types of control structures in programming?

896


Explain how can I convert a string to a number?

861


What do you understand by normalization of pointers?

836


Explain c preprocessor?

882


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1178


Write a program in c to replace any vowel in a string with z?

901


write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)

1896


Explain the difference between getch() and getche() in c?

754


Explain what is #line used for?

813


Where are c variables stored in memory?

820


What are the different types of control structures?

814


What are global variables and how do you declare them?

799