UrbanPro

Learn C Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

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 31 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

How and where do I start learning C programming?
To start learning C programming, you can follow a structured approach that includes both theoretical knowledge and practical implementation. Begin with understanding the basics of C, including variables,...
Gaurav
0 0
7
What is an rvalue?
Rvalue was added with the C++11 standard. An lvalue is an expression that refers to a memory location and allows us to take the address of that memory location via the & operator. An rvalue is an expression...
Mohd
What is a calling function in C?
In C, a calling function, also referred to as a calling routine or a caller, is a function that invokes or "calls" another function. When a program executes, control is transferred from the calling function...
Deepika
0 0
6
Can anybody provide me error free coding for graphic program in C??? Animated Smiley program Rotating Fan progran Sunrise program
#include graphics.h #include conio.h #include stdlib.h #include dos.h main() { int gd = DETECT, gm,area,temp1,temp2,left =25,top=75; void *p; initgraph(&gd,&gm,”C:\TC\BGI”); setcolor(YELLOW); circle(50,100,25); setfillstyle(SOLID_FILL,YELLOW); floodfill(50,100,YELLOW); setcolor(BLACK); setfillstyle(SOLID_FILL,BLACK); fillellipse(44,85,2,6); fillellipse(56,85,2,6); ellipse(50,100.205,335,20,9); ellipse(50,100.205,335,20,10); ellipse(50,100.205,335,20,11); area...
Gayu
0 0
8
What is a calling function in C?
A function call is an expression that includes the name of the function being called or the value of a function pointer and, optionally, the arguments being passed to the function
Gowre
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

PRACTISE makes you PERFECT ; ; ; There is no SUBSTITUTE for HARD WORK ;;;;Breathe SUCCESS like OXYGEN
Proper Planning ( reg what portions to be covered today) revising today's class portions & clarifying doubts solving Maths problems regularly ,noting down formulae separately trying to understand...

Difference Between C Language and C Program
C Language: C Language is structured, high level and machine independent language. C Program: C Program is the collection of functions that are supported by C library.
S

Shashwat Kumar

0 0
0

C Program-String Palindrome
//Header files #include<stdio.h>#include<conio.h>#include<string.h> //Main function void main(){ char mystring; int i,length; int flag=0; //Function for clearing screen clrscr();...

Some interview questions for freshers on C language
Q1. What are the two forms of #include? There are two variants of #include. The one is #include and the other one is #include”file”. In general the first form that is #include is used to...

Memory Layout of C Programs
A typical memory representation of C program consists of following sections. Text Segment: A text segment, also known as a code segment or simply as text, is one of the sections of a program in an object...

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
X

Looking for C Language Classes?

The best tutors for C Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C Language with the Best Tutors

The best Tutors for C Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more