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

1. First of all = is a assignment operator and == is a
comparision operator
2.= give you the same vale like x=y means if x=5 then y=5
on the otehr hand if x==y then it will give you the true or
false
eg if x==5
y==5
then return true

Is This Answer Correct ?    98 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the vectors in c++?

983


How to declare an array of pointers to integer?

1067


Is there a c++ certification?

988


What are c++ templates used for?

1079


What is a responder chain?

1004


What is ios :: in in c++?

999


What parameter does the constructor to an ofstream object take?

1003


What are the various access specifiers in c++?

979


How would perform Pattern Matching in C++?

1169


Can circle be called an ellipse?

1024


Ask to write virtual base class code?

2694


Explain rethrowing exceptions with an example?

978


What is a string example?

1011


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2292


Why are pointers not used in c++?

1080