1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
amm1812
3 years ago
15

What is the difference between C and C++. If I know C, will it be hard to lean C++?

Computers and Technology
1 answer:
Jobisdone [24]3 years ago
4 0

Explanation:

The difference between c and c++  are given below

(1) C does not support object oriented programming structure while c++ supports  object oriented programming structure.

(2) C does not support namespace concept while c++ support namespace concept

(3) C has a procedural language it means it follow top down approach while  C++ is object oriented it means it follow bottom up approach

(4) C does not support virtual function concept while C++ support  virtual function concept

( 5) The programming structure of c language is given below  

   #include<stdio.h> // header file

  void main()  //main method

{

//statement

}

Programming structure of C++

#include<iostream> // header file

 using namespace std;  // namespace

void main()  // main method

{

// statement

}

If anyone know C, will it be not hard to learn C++ because only the syntax will change but the logic of programming is not changed .The operator and most concept are similar in both the languages.

You might be interested in
The _______ valve protects the air pump from reverse-exhaust pressure.
alexandr402 [8]
D. The answer for this is the gulp
7 0
3 years ago
Double click on a sheet tab to ______ the sheer
Anni [7]

its delete cuz i just tryed it now and i think im right if im wrong forgive me


8 0
3 years ago
Read 2 more answers
Which is not a category of business or industry covered under OSHA standards? A. Construction B. General Industry C. Maritime D.
ale4655 [162]
D IS THE CORRECT ANSWER
3 0
3 years ago
For each of the following memory accesses indicate if it will be a cache hit or miss when carried out in sequence as listed. Als
nika2105 [10]

Answer:

Explanation:

Operation Address Hit? Read Value

Read 0x834 No Unknown

Write 0x836 Yes (not applicable)

Read 0xFFD Yes CO

6 0
3 years ago
Steve, an HR manager for IBM, must decide what positions the firm should fill in the next 6 months, which means Steve is current
Katyanochek1 [597]

Answer:

personnel planning

Explanation:

Steve, an HR manager for IBM, must decide what positions the firm should fill in the next 6 months, which means Steve is currently working on personnel planning.

4 0
3 years ago
Other questions:
  • 1. Why isn't solar energy usually the only power source for a region?
    10·2 answers
  • Which tasks can be completed within the File tab?
    8·1 answer
  • What is the exact number of bits in a memory that contains (a) 128k bits?
    9·1 answer
  • When considering changing the content of a cell which button should you press to leave the cell as it originally was?
    13·2 answers
  • What is entered into a cell that is typically numeric and can be used for calculations?
    9·2 answers
  • Emails, Documents, Videos and Audios are examples of- (a) Structured data (b) Unstructured data (c) Semi-structured data (d) Non
    10·1 answer
  • Which statement correctly differentiates how to use list and table styles?
    12·2 answers
  • What is an insertion point?
    6·1 answer
  • Compare and contrast sources and types of credit, including costs and benefits of installment
    15·1 answer
  • Write a program that prompts the user for two numbers then outputs the result of dividing the first number by the second number
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!