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

Why is c faster?

681


What is the size of structure pointer in c?

704


Explain how can you avoid including a header more than once?

687


What is structure packing in c?

706


What is void c?

668






What is a dynamic array in c?

671


Explain how are portions of a program disabled in demo versions?

749


Explain bitwise shift operators?

747


What is operator precedence?

743


Which programming language is best for getting job 2020?

688


Why we use int main and void main?

645


What are the types of variables in c?

667


How can I handle floating-point exceptions gracefully?

743


what is reason of your company position's in india no. 1.

1871


What library is sizeof in c?

666