Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in C Programming by (45k points)

Could someone tell me whether we can declare a function inside structure of C Programming?

1 Answer

0 votes
by (99k points)

No, you cannot define a function inside the structure of C Programming, but you can do so in C++, rather you can have a function pointer in a “struct” in C Language. Wish to learn and master C Programming? Check out the C Language online course from Intellipaat. If you are just starting out in C Programming, watch the following video on C Tutorial for Beginners to get started.

Related questions

0 votes
3 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...