what is difference between c and c++

Answer Posted / sandeep kumar

C
1)It is structured language
2)It follows Top-down approach
3)large programs are divided into small programs called
functions
4)data move openly from one function to other function

C++
1)It is a Object oriented language
2)It is not compulsory to be top-down procedure
3)large program is divided into small objects
4)data cant be accessed by external functions easily

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1385


What is printf () in c?

582


What is use of #include in c?

603


What is I ++ in c programming?

630


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1865






What is typeof in c?

611


If you know then define #pragma?

678


Is malloc memset faster than calloc?

622


What is the easiest sorting method to use?

637


shorting algorithmS

1805


Why do we use return in c?

572


Under what circumstances does a name clash occur?

695


What is nested structure with example?

630


What does the format %10.2 mean when included in a printf statement?

1093


What are the usage of pointer in c?

708