what is the main difference between c and c++?
Answer Posted / ashish kumar
string variable take four bytes in c++ .whereas in c string
variable takes 3 bytes
c++ use bottom up approach to solve a problem.and c uses top
down approach to solve the problem.
c breaks the big problem into sub problems by using
procedures and function and then solve that.c++ combine the
small problems and then make it to be a solution.
| Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
How to use CMutex, CSemaphore in VC++ MFC
What is object-oriented programming? Webopedia definition
Can we create object of interface?
officer say me - i am offered to a smoking , then what can you say
What are the benefits of polymorphism?
What is polymorphism and types?
What is object in oops?
What is the main purpose of inheritance law?
What is difference between oop and pop?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is oops and its features?
What is object in oop with example?
What is oops concept with example?
What causes polymorphism?
Which is not an object oriented programming language?