what is the main difference between c and c++?

Answer Posted / chetna chaudhari,jalgaon

in c we use #include<stdio.h>as iclusion file,while in c++
we use #include<iostreame>as inclusion file.

Is This Answer Correct ?    2021 Yes 949 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 5 oop principles?

603


What is destructor give example?

608


What is abstraction in oops with example?

776


What is class and object with example?

588


How oops is better than procedural?

589






What does sksksk mean in text slang?

1537


Describe these concepts: Polymorphism, Inheritance and Abstraction.

616


What is encapsulation oop?

578


Why is abstraction used?

612


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

1641


What does it mean when someone says I oop?

587


Where is pseudocode used?

565


Give two or more real cenario of virtual function and vertual object

1855


What are main features of oop?

636


What is oops and its features?

591