Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the main difference between c and c++?

Answers were Sorted based on User's Feedback



what is the main difference between c and c++?..

Answer / kani

c is a not oops language...but c++ is oops languge...in c v
use include<stdio.h>but in c++ v using include<iostream.h>

Is This Answer Correct ?    2 Yes 1 No

what is the main difference between c and c++?..

Answer / krishnachaitanya

c is a structured programming language and procedure
oriented language.c++ is an object oriented programming
language.c does not provide any security to data but c++
provides security to data.c does not have any uniformity
and associativity.in c,we use variables and in c++,we use
objects.c follows top_down approach and c++ follows
bottom_up approach.

Is This Answer Correct ?    1 Yes 0 No

what is the main difference between c and c++?..

Answer / irfan khan

c is not object oriented but c++ is object oriented

Is This Answer Correct ?    2 Yes 1 No

what is the main difference between c and c++?..

Answer / kakkar & kainth

=> c is procedural as well as structured language while c++
is procedural and object oriented.
=> c++ is an extension of c.
=> various i/o functions in c++ are performed using
iostream.h while in c it is done through stdio.h.
=>instead of scanf,cin>> is used in c++ and instead of
printf, cout<< is used in c++.
=>c is top down approach while c++ is bottom up approach.

Is This Answer Correct ?    1 Yes 0 No

what is the main difference between c and c++?..

Answer / yaswant kumar chaudhary

In c we can use only /* */this type of symbols for writing
any comments ,but in c++ we can use // ,and also symbols
used in c which is written above can also be used for
writing multiple line comments.

Is This Answer Correct ?    1 Yes 0 No

what is the main difference between c and c++?..

Answer / srinath.r

c is a structure programmimg language. c is top down approach
whereas c++ is a object oriented programming language and
c++ is a bottom up approach

Is This Answer Correct ?    2 Yes 1 No

what is the main difference between c and c++?..

Answer / ano

c does not contain class but c++ contains class,in the main
function itself c++ have the return value........

Is This Answer Correct ?    2 Yes 1 No

what is the main difference between c and c++?..

Answer / ricky dobriyal

c does not support default argument while c++ support
default argument

Is This Answer Correct ?    1 Yes 0 No

what is the main difference between c and c++?..

Answer / raman sharma

in c is structual language and c++ is a object oriented
language. in c we use #include<stdio.h> and in c++ we use
#include<iostream.h>. in c we single line comment /* /* and
in c++ we use // //. in c we use manipulator and in c++ we
dont use manipulator because in c++ there is a one header
file we use #include<iomanip.h>. in c++ there is
class,object,encapsulation,inheritance,message
binding,polymorphism etc and in c there is no class and
object. in c++ we use endl in line break also \n but in c
programming there is only \n we use. there is constructor
and disgustor. in c++ is easy and less complexity program.
in c there is use printf() for output and scanf()for input
and c++ there is cout<< for output and cin>> for input and
<< is insertion and >> is a extraction this is main
differece between in c and c++

Is This Answer Correct ?    1 Yes 0 No

what is the main difference between c and c++?..

Answer / ankit

in c there is proprocessor while in c++ there is chandan

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More OOPS Interview Questions

Why we use classes in oop?

0 Answers  


What is byval and byref? What are differences between them?

0 Answers   HCL, Wipro,


explain defference between structure and class with example

2 Answers  


officer say me - i am offered to a smoking , then what can you say

0 Answers  


What is destructor example?

0 Answers  


What is virtual constructors/destructors?

4 Answers   IBS,


What is virtual Function.

1 Answers   Wipro,


What is encapsulation in oops?

0 Answers  


what is the realstic modeling?

1 Answers  


What is encapsulation and abstraction? How are they implemented in C++?

0 Answers   Agilent, ZS Associates,


#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

0 Answers  


1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)

1 Answers   Nagarro,


Categories