Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6072757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:11:43+00:00 2026-05-23T10:11:43+00:00

I hear this a lot of times that: inline functions in C expose internal

  • 0

I hear this a lot of times that: “inline functions in C expose internal data structures” and that is one of the reasons some people do not like them.

Can someone please explain, how?

Thanks in advance.

Lets say I have a program code.c and a function func(). I can 1) make func() inline – which will expose whatever I do with my data-structures in code.c 2) I can put func() in a library and provide that as a shared lib (which is not readable – I guess ?? :p) —- Is this a correct analysis?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:11:43+00:00Added an answer on May 23, 2026 at 10:11 am

    It would certainly be more transparent compared to something compiled into a library or object module. That’s because you can see the source code, and therefore write code which manipulates the data structures any way you want.

    However, for non-line functions for which you have source, I am at a loss how that could be more protected.

    There are software corporations which jealously guard their software source code, and only release object modules to be linked with, or shared libraries, or (dread!) .DLLs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a question I have frequently, and finally want to hear people's opinions
Where in this pattern I can place services, about which I some much hear
I always ask this to myself, and I think it's time to hear some
I've run into this problem several times before and wanted to hear what other's
I expect to hear from you that this is a bad practice and agree
I hear a lot about couchdb , but after reading some documents about it,
I hear all this buzz about Captcha a lot, what is it for? I
I know that similar questions were asked a lot of times already, but today
We will soon start replacing ClearCase with Mercurial. I hear this is a good
Recently I hear Steve Jobs citing this as a main reason to not have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.