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 pointer to array in c++?

1171


Explain the static member function.

1194


Is java as fast as c++?

1107


In c++, what is the difference between method overloading and method overriding?

1147


Const char *p , char const *p What is the difference between the above two?

1218


Explain function overloading

1022


Why is swift so fast?

1130


What does std :: flush do?

1141


Which should be more useful: the protected and public virtuals?

1046


Why the usage of pointers in C++ is not recommended ?

1455


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1097


What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

1034


Can a built-in function be recursive?

1030


Explain terminate() function?

1064


What are c++ variables?

1066