what is the main difference between c and c++?
Answer Posted / shaan
in 1970's and 1980's C is a high level language,so For
complexity later C++ introduced by bjarne stroustrip at
1990, The Main Difference between c and C++ are ,C++
supports OOPS concept By sharing Global and local variable
from a class ,and C++ supports Class and object concept, So
to face real time Entity C extended to c++ .
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Describe these concepts: Polymorphism, Inheritance and Abstraction.
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.
What is purpose of inheritance?
How do you define a class in oop?
What is oops?what is its use in software engineering?
can we make game by using c
what is different between oops and c++
What are the three main types of variables?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is the main feature of oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
why reinterpret cast is considered dangerous?
What is polymorphism in oops with example?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Can a destructor be called directly?