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

Which of the following is evaluated first: a) && b) || c) !

2419


Define anonymous class.

1135


What is a pointer with example?

1335


How can you tell what shell you are running on unix system?

1163


Why is "using namespace std;" considered bad practice?

1143


What do you mean by vtable and vptr in c++?

1100


Define stacks. Provide an example where they are useful.

1076


Explain the difference between overloading and overriding?

1199


What gives the current position of the put pointer?

1043


What does namespace mean in c++?

1142


What is const in c++?

1157


What is c++ virtual inheritance?

1193


What is the most common mistake on c++ and oo projects?

1020


Comment on c++ standard exceptions?

1127


How would you use the functions sin(), pow(), sqrt()?

1236