what is the main difference between c and c++?
Answers were Sorted based on User's Feedback
Answer / tarun
c is a computer pragraming language
c++ is the more depper than computer programming
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vipin
c is the procedural oriented programming(POP).
But,
C++ is an object oriented programming(OOP).
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prathyusha
c++ supports the over loadind function which is not
supported in c programming
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anusha
C is a general purpose and structured programing language,where as c++ is object oriented.
In C we wont use classes,where as c++ called as c with classes
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / fahim uddin shaown
The namespace features in c++ is absent in case of c.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jatin gupta
The main difference in c & c++ is that.....
c language is a procedure oriented language where as
c++ is a object oriented language!!!
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jagan
c is a procedural programmiing language and c++ is object
oriented language.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / parthipan
1.C is structured language.
2.C is top to bottom apporach.
3.C does not support data hiding ,so there is no security
for data
4.c++ is object oriended programming language
5.c++ is bottom to top apporach
6.we can divided the big program into small logical unit.so
we can create seperate object for each module.
7.In c++ the access specifier private,public,protected are
used to handle the data for more security.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sarath
c is a procedural programming and c++ is an object oriented
programming.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sum1
Depending on the data we can design the program in c++..it means bottom to top approach.
In c depending on the function or variables we can design the data.. it mean top to bottom approach
Is This Answer Correct ? | 0 Yes | 0 No |
What is abstraction?
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.
How is exception handling carried out in c++?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
why the argument is passed by reference to a copy constructor?example?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What do you mean by overloading?
I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe
What are the 4 main oop principles?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
string is a class or data type in java?
What is multilevel inheritance in oop?