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 cout flush?

956


What is data structure in c++?

1091


How to give an alternate name to a namespace?

1042


What is lazy initialization in c++?

1046


Which is the best c++ compiler for beginners?

1012


How important is c++?

920


What is implicit pointer in c++?

1028


How to allocate memory dynamically for a reference?

991


What is meant by const_cast?

1069


What is abstract keyword in c++?

1020


Which coding certification is best?

968


Can static member variables be private?

1111


What are advantages of c++?

952


an integer constant must have atleast one a) character b) digit c) decimal point

977


How are the features of c++ different from c?

1014