C is not an Object Oriented Programming language
 

  • OOP languages provides 2 key features that C does not provide:

      1. private and protected access modifiers that limit the accessibility of program variables to functions/methods

        (C does not have these access modifiers)

      2. Function overloading

        (In C, you cannot have 2 functions with the same name - even when the parameters are different !!!)

No function overloading in C !!!
 

Demo:

 int f(int i)
 {
 }

 int f(int a, int b)
 {
 }

 int main(int argc, char *argv[])
 {
 }
   

You will get compiler error !!

You must delete one of the functions f( ) to fix the error