UrbanPro

Learn C Language from the Best Tutors

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

Search in

Difference between "C structure" and "C++ structure".

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Home Tutor

C is process oriented programming.. so c follows procedure in execution where as C++ is object oriented and messages are been passes between the objects..
Comments

Tutor taking Computer subjects Classes

C is procedural language . c++ is object oriented .
Comments

Python and Unix Professional(10 years IT Exp)

1. Only variables of different data types can be declared, functions are not allowed 2. Direct access to data members is possible 3. ‘struct’ data type is not treated as built in type -- use of ‘struct’ necessary to declare objects 4. Member variables cannot be initialized inside a structure
Comments

Computer Science And Maths Tutor

It's true that C++ supports structures to remain backward compatible with C & provide easy migration path to C programmers. But there are still many differences between C struct & C++ struct. 1) C structure can't contain functions means only data members are allowed, but structure in C++ can have...
read more
It's true that C++ supports structures to remain backward compatible with C & provide easy migration path to C programmers. But there are still many differences between C struct & C++ struct. 1) C structure can't contain functions means only data members are allowed, but structure in C++ can have both functions & data members. 2) struct keyword is necessary in C to create structure type variable, but it is redundant & not necessary in C++. 3) Size of empty structure is undefined behavior in C, but it is always 1 in C++. 4) Structure in C can't have static members, but C++ structure can have static members. For example following program fails in compilation in C but compiles fine in C+ read less
Comments

A Passionate Teacher

Nothing, Thery are same concepts
Comments

C/C++ & UNIX Shell Scripting Programmer & Tutor

C++ structures are more of kind of class but not really class. The C Structures are classic structs. That means they contain only member variables. While in C++ structures can have member function as like a class the difference being default all member variables and functions are public while in class...
read more
C++ structures are more of kind of class but not really class. The C Structures are classic structs. That means they contain only member variables. While in C++ structures can have member function as like a class the difference being default all member variables and functions are public while in class are private. Well there are hardly anywhere we recently use C++ structures in replacement of a class. read less
Comments

1.5 years of experience in teaching IT and computer subjects to engineering, diploma and BSc students.

There are many differences between C struct & C++ struct, I will list few of them: 1) C structure can't contain functions means only data members are allowed, but structure in C++ can have both functions & data members. 2) Structure in C can't have static members, but C++ structure can have static...
Comments

C, C++ Trainer

In C structure only data can be defined whereas in C++ both data and functions can be added to structures. C++ structures can act as classes except that structure functions are always public.
Comments

Computer trainer

C++ is higher version of c with extra concept of object oriented programming
Comments

Tutor

Well C is the procedure oriented while the C++ is the objects oriented language.
Comments

View 15 more Answers

Related Questions

Who created C?
The C was primarily created by Dennis Ritchie, an American computer scientist, in the early 1970s while working at Bell Labs. C was designed as a system programming language, initially for building utilities...
Srinivasan
0 0
7
How and where do I start learning C programming?
C language is the basic of the programming to learn the basic of programming we learn the c language
Gaurav
0 0
7
any one can teach me c++
Yes of course i can give you online classes
Bhuvanesh
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
Why should I learn Python over C or C++?
There are definite differences. C++ is a strongly typed language and Python is not. There's no need to declare variables. ... (I generally don't like languages to be dependent on any kind of formatting,...
Sajini

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

Ask a Question

Related Lessons

What Would Be Life Cycle Of A Fresher After Campus In An IT Company?
1. Basic Technical Training: Since freshers are not subject matter experts so gone through 3 - 6 months basic technical training within Organization. 2. Technical Assessment: HR sends freshers to various...

Operators in C
Operators in C Operator: An operator is a symbol that tells the compiler to perform certain mathematical or logical calculations. Operators are used in programs to manipulate data and variables. The...

Efficient Learning Strategies
Type your notes after class Write your notes onto flashcards - Scrabble -Make posters Review flashcards while walking, at gym, etc. Dog-ear pages in the reading where you can find...

Variables
Variables in C Language:A variable is a name that may be used to store a data value. Unlike constant, variables are changeable, we can change value of a variable during execution of a program. A programmer...

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();...

Recommended Articles

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 >

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 >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

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