12th September 2012 10:57 PM | ||
Unregistered |
Re: What is the difference between C and C ? i want IT branch syllabus for gate preparation or for cse branch entire one means marks alloted everything if possible |
|
12th September 2012 08:16 PM | ||
Unregistered |
Re: What is the difference between C and C ? 1.C is loosely typed language but not cpp means for example if you want to create a junk of memory on heap,in C we can create like int *i=malloc(sizeof(4)); byt in cpp we need to type cast that one means int *i=(int *)malloc(sizeof(4)); type enforcement is more efficient in cpp. 2.In cpp we cant call a function with different arguments but in cpp it is possible(FUNCTION OVERLOADING). |
|
12th September 2012 07:04 PM | ||
mustafa tahasildar |
Re: What is the difference between C and C++? Quote:
THE MAJOR DIFFERENCE BETWEEN C AND C++ ARE AS FALLOWS *In c declaring the global variable several times is allowed but this is not allowed in c++. *After declaring structures and enumerators in c we cannot declare the variable for the structure right after the end of the structure as in c++. *For an int main() in c++ we may not write a return statement but the return is mandatory in c if we are using int main(). *In C++ it having operator overloading and in C it doesn't have. * The C++ is the advance version of C.classes, function overloading and operator overloading. |
|
12th September 2012 12:18 PM | ||
sandeepsaini.saini522 |
Re: What is the difference between C and C++? hi, ->C is Procedure Oriented Programming Language (POP). ->C++ is Object Oriented Programming Language (OOP). ->C is mostly used to develop system software. ->C++ is mostly used to modal real life problem to program and use to develop application programs. ->C program has extension .C ->C++ program has extension .cpp ->C uses the top-down approach. ->while C++ uses the bottom-up approach. ->C is function-driven. ->while C++ is object-driven. |
|
12th September 2012 10:56 AM | ||
sumansin |
Re: What is the difference between C and C++? Difference between C and C++ C and C++ are languages. C is a middle level language because it stands in between High level languge and Low level language.Programs written in C are efficient and fast.It is used in structured programming. C++ is derived from the C language.C++ uses compile-time binding which means that the programmer must specify the specific class of an object.C++ programs are fast and efficient, qualities which helped to make C an extremely popular programming language. |
|
11th September 2012 11:07 PM | ||
Unregistered |
What is the difference between C and C++? what are difference between c and c++?..please tel me what is i |