adspace


what is difference between C and C++

Answer Posted / sight

Hi!!
C is basically developed for Structured programming...
C++ is developed for Object Oriented Programming..

C we can't use Inheritance,Polymorphism.etc..Concepts
C++ we can use this concepts...

C is not as secured compared to C++
C++ is more secure than C b'coz it use Object Oriented
concepts..

C is to Down Approach
C++ is Bottom top Approach..

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pointer to pointer in c with example?

1200


Is int a keyword in c?

1059


swap 2 numbers without using third variable?

1211


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2740


List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2829


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2516


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

2006


i have a written test for microland please give me test pattern

2814


what is ur strangth & weekness

2592


Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?

1183


What is the general form of a C program?

1100


Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.

5449


Explain the difference between null pointer and void pointer.

1160


ATM machine and railway reservation class/object diagram

5337


What is dynamic dispatch in c++?

1140