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 |
if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?
How many parameters should a function have?
Dont ansi function prototypes render lint obsolete?
How many bytes are occupied by near, far and huge pointers (dos)?
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?
Write a function to find the area of a triangle whose length of three sides is given
Explain what is gets() function?
Explain enumerated types.
what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....
What is assert and when would I use it?
if ENTERED FIVE DIGITS DESIGN A PROGRAM THAT WILL FIND CORRESPONDING VALUE FROM ASCII TABLE
Write a program to swap two numbers without using the third variable?