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 |
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
Why ordinary variable store only one value
#include<stdio.h> main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } Find the output
write a c program for greatest of three numbers without using if statment
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
Binary tree traversing
Tell me about low level programming languages.
write a program to check whether a number is Peterson or not.
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What are operators in c?
What is a char in c?
What are nested functions in c?