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 / kanteshwar

1)In c we can not write function inside structure but in c++
function is inside the structure.

2)C language is not flexible means if tomarow logic changes
and program is large it is more difficult to change the
logic but c++ is flexible it providing the feature like
Inheritance.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / vikalp

without c, c++ can't run but without c++ can easily run.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / chitranjan

in c++ security is more than c.

Is This Answer Correct ?    1 Yes 1 No

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

Answer / priyanka

1. c doesn't support operator overloading but c++ support
operator overloading.
2. c is structured(procedural) programming language but c++
is an object programming language.
3. data is not secured in c but c++ data is secured.
4. c is top-down apporach and c++ is bottom-up apporach.
5. c using #include<stdio.h> as header file and c++ using
#include<iostream.h> as header file.
6. c is low level language but c++ is high level language.

Is This Answer Correct ?    1 Yes 1 No

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

Answer / gaurav jatwani

in c we use modifiers for scanf and printf
in c++ we don't use any modifiers

in c we have no protected access specifier
in c++ we have


in c we have no constructor and distructor
in c++ we have constructor and distructor

in c we cann't delcare variables any where
in c++ we can declare variables any where


in we have no INLINE AND FRIEND function
in c++ we have both


in c we use & operator in scanf for storing value in
variable ex:- ( scanf("%d",&age); )
in c++ we need not to use any operator to store value in
variables

GAURAV JATWANI

Is This Answer Correct ?    1 Yes 1 No

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

Answer / c.arun raju

c is the object oriented programming language because in
c++ we can create objects and class, while c language is
based on the datas of c++ language and in c++ we use cout
and cin while in c scanf printf for input and output data.

Is This Answer Correct ?    2 Yes 2 No

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

Answer / madhavi nallapu

c is procedure oriented language and c++ is a object
oriented language.. and in c we can acheive the reusability
concept by implementing inheritance concept.. and all the
features of oops are supported by c++ where as not by c...
c++ is an advanced version of c because it supports all the
features of c and also some new features....

Is This Answer Correct ?    1 Yes 1 No

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

Answer / m.vivekbalachandar

Language is structure oriented programing language
but c++ is object oriented programing language.
c++ is extension (or) increment of c.

Is This Answer Correct ?    4 Yes 4 No

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

Answer / lalit

public int validateuser(string username, string passwd)
{
con.Close();
con.Open();
cmd = new SqlCommand("sp_VALIDATION",con);
rd = cmd.ExecuteReader();
bool b = rd.Read();
if (b == false)
{
if (FormsAuthentication .Authenticate
(username ,passwd ))

return 2; //For Administrator

else
return 0; //For Unauthorized
User

}
else

return 1; //For Normal User


}


***************************************************
protected void btnenter_Click(object sender, EventArgs e)
{
int tempvar= stdinfo.validateuser
(txtboxadminname.Text ,txtboxpassword.Text);

if (tempvar == 2)
Response.Redirect("Admin/AdminHomePage.aspx");

else
lblerrormsg.Text = ("You Are Not Authorized
Admin!");
lblerrormsg.Visible = true;
}

Is This Answer Correct ?    2 Yes 2 No

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

Answer / karan sharma

c is the advanced version of b and bcpl language


c++ is the advanced version of c with classes language

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More OOPS Interview Questions

What is a friend function & its advantage?

1 Answers   MIT,


What is a friend function & its advantage?

2 Answers   TCS,


write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?

2 Answers   IBMS, Zycus Infotech,


What is the difference between the c++ & java?

2 Answers  


What is pointer in oop?

0 Answers  


Write A Program using Single and Multiple Inheritance.

1 Answers  


What is the difference between abstraction and polymorphism?

0 Answers  


What is the difference between C++ and java?

6 Answers   Atos Origin,


What is polymorphism and example?

0 Answers  


Why is abstraction needed?

0 Answers  


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

0 Answers   Microsoft, TCS,


write a program that takes input in digits and display the result in words from 1 to 1000

0 Answers   Wipro,


Categories