what is difference between C and C++
Answers were Sorted based on User's Feedback
C is structure oriented Designing language where as C++ is
Object oriented language
C is used for creating System level programs and c++ is used
for creating application programs and GUI
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / nataraj
c is an basic language, and c++ is advanced language.and c
is an basic of the program.
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / 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 |
Answer / kalyanram
c is a procedural oriented language ,in c there is no
security & reusabulity concepts
in c++ lan object oriented language this provide concept of
class,inheritance ..so it is more security
| Is This Answer Correct ? | 5 Yes | 0 No |
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is a protocol in c?
What type is sizeof?
void main() { for(; 0 ;) ... { printf("hello"); ... } getch(); }
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 5 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
What is the use of the restrict keyword?
Describe newline escape sequence with a sample program?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Is this program statement valid? INT = 10.50;
related to rdbms query .
how to swap four numbers without using fifth variable?