--- In [email protected], "Brett McCoy" <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 22, 2008 at 8:15 AM, Akash Makhija > <[EMAIL PROTECTED]> wrote: > > > My Question is > > what are Access Modifiers in C? > > It is totally different from Access Specifier(which is Public, Private, > > Protected) that is used in C++. > > I think you'll find the terms 'access modifier' and 'access specifier' > mean the same thing (they are used to control access to methods and > data members in a class in C++, Java, C#, etc). C has no such concept. > Unless you are talking about something completely different and are > using the incorrect terminology. The fact you cannot find anything on > the topic in Google should tell you something (I searched also, and > got lots of hits for C++, Java and C#) > > -- Brett > ------------------------------------------------------------ > "In the rhythm of music a secret is hidden; > If I were to divulge it, it would overturn the world." > -- Jelaleddin Rumi > -------------------------------------------------------------- I'm quite sure C language has no 'access modifiers' or 'access specifiers' because the C language is not an Object-oriented language. 'Access modifiers' and 'access specifiers' are language implementations of the concept of encapsulation, which is a major feature in Object-oriented languages --- but not in C. I suppose you are pertaining to C++, not C.
-- Bart
