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 difference between = and == in C?

Answer Posted / sagar pce

1.> = is an Assignment operator
whereas == is an Comparision or Equality operator
2.> If we go for the = operator the value will be same for
both side i.e; X=Y
for eg. if X=7 then Y=7
but when we go for the == operator the value will show the
result as a true or false
for eg. if X==7 and Y==7
then it return TRUE

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pointer how and when is it used?

1143


Which programming language's unsatisfactory performance led to the discovery of c++?

1390


Carry out conversion of one object of user-defined type to another?

1090


Describe the syntax of single inheritance in C++?

1118


Is oops and c++ same?

1089


What are containers in c++?

1031


What is data structure in c++?

1186


What is format for defining a structure?

1134


Explain container class.

1302


Is java the same as c++?

1033


Difference between strdup and strcpy?

1247


What are the vectors in c++?

1086


What is implicit pointer in c++?

1136


How important is c++?

1031


What is the difference between *p++ and (*p)++ ?

1406