if c language work object oriented anytime? if yes tell me how?

Asked by Last Modified  

Follow 3
Answer

Please enter your answer

Qualified and experienced tutor in exploring prodigies

its not an object oriented
Comments

IT Professional Trainer with 22 years experience

simply never.
Comments

Embedded Linux kernel/Hacker Trainer

C Programming is structure based language, it is not objected oriented.
Comments

Senior Software Professional (google:sknandi)

Yes, it can. Technically, there is nothing called object oriented programming. Object oriented programming mechanism is built over procedural language using 'this' pointer. Therefore, you can do OO programming using C itself as following - 1. Simply put the functions and data structure in a single...
read more
Yes, it can. Technically, there is nothing called object oriented programming. Object oriented programming mechanism is built over procedural language using 'this' pointer. Therefore, you can do OO programming using C itself as following - 1. Simply put the functions and data structure in a single file 2. Make the data structure static (equivalent to private in OO) 3. Mark all internal methods as static (equivalent to private in OO) 4. Those methods which will be accessed by the program outside of this file should not be static (equivalent to public OO) 5. Methods can take data structure instance as one of the arguments. (Not necessarily, functions should be invoked by any function pointer defined within the data structure) read less
Comments

C does not support Object oriented programming. Structures some times we can feel as objects but structures doesn't include methods
Comments

Senior Software Engineer

No its a procedural language
Comments

Oracle, Hindi, C++, C, MS Office, VBScript,JavaScript,Spoken English etc with 32 years of experience

no
Comments

The key word is "oriented", not "object". Even C++ code that uses objects but uses them like structs is not object oriented. C and C++ can both do OOP (aside from no access control in C), but the syntax for doing it in C is inconvenient (to say the least), while the syntax in C++ makes it very inviting....
read more
The key word is "oriented", not "object". Even C++ code that uses objects but uses them like structs is not object oriented. C and C++ can both do OOP (aside from no access control in C), but the syntax for doing it in C is inconvenient (to say the least), while the syntax in C++ makes it very inviting. C is oriented to procedural, while C++ is oriented to objects, despite nearly identical core capabilities in that regard. Code that uses objects to implement designs that can only be done with objects (usually meaning taking advantage of polymorphism) is object oriented code. Code that uses objects as little more than bags of data, even using inheritance in an object oriented language, is really just procedural code that is more complicated than it needs to be. Code in C that uses function pointers that are changed around at run-time with structs full of data is kinda doing polymorphism, and could be said to be "object oriented", even in a procedurally oriented language. read less
Comments

Computer Science Instructor having the knowledge of University and Infosys about 14 Years in Computer Science and Engineering

C is basically a Structured Programming Language. It is not used for Object Oriented Programming Language. You can simulate using Structures and Unions but it does not have features of Object Oriented Programming Languages.
Comments

.NET Professional Trainer with 12 years of experience

It is simple that c is a procedure oriented language and is not at all object oriented.
Comments

View 16 more Answers

Related Questions

Can stdout be forced to print somewhere other than the screen?
Although the stdout standard stream defaults to the screen, you can force it to print to another device using something called redirection
Vijay
0 0
5
Why are C and C++ faster than other programming languages?
C is basic programming language. It is very simple language & interested. C is procedural programming language
Kalyani
0 0
8
Which language is best, C, C++, Python or Java?
If you want to learn any languages C#, Java, ect. then must to learn C, C++ language as these are base or language to be strong in language skills. C++ is improved version of C language. C#, Java, J# and etc. which are improved version of C++.
Sribaghya
0 0
6
Which websites are best to learn C programming?
Geek for Geeks and programiz etc
Ritu
0 0
5
Which is the best C language IDE/compiler for Windows?
For Windows, one of the widely regarded C language IDEs is Microsoft Visual Studio. It provides a comprehensive development environment with features like code highlighting, IntelliSense for smart code...
Deepashri
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Some interview questions and answers for fresher level on Pointers
What is a void pointer? Void pointer is a special type of pointer which can reference or point to any data type. This is why it is also called as Generic Pointer. As a void pointer can point to...

Features Of C Language
Features of C language It is a robust language with rich set of built-in functions and operators that can be used to write any complex program. The C compiler combines the capabilities of an assembly...

Programming Practice Technique
Any Programming Language required an Algorithm. Algorithm - It is the finite set of instructions in which each and every instruction has the meaning, instructions are not ambiguous and all the instructions...

C Program Sample Application
//Standard Library Functions(Header Files used) #include<stdio.h> #include <conio.h> //Main method int main() { // function for clearing screen clrscr(); // function to print the output...

C-Program Swapping Contents Of Variables Using Function [Call By Reference Method]
//Header Files #include#include // User defined functions swap with 2 pointer variables passed as an argument list void swap(int*i,int*j){ // Local variable temp int temp; // swapping contents using...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you