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 / anita sachdeva

= operator in C language is used to assign the value of
right-hand side value/variable/expression to the left hand
side variable.

== operator in C/C++ language is used to check the value of
left hand variable/expression with the right hand
variable/expression. whether the two values are equal or
not. It returns true if these are equal else it will return
false.

Is This Answer Correct ?    312 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define 'std'.

1125


What is unary operator? List out the different operators involved in the unary operator.

938


What is a c++ object?

1099


What is pure virtual function?

1021


What is vector processing?

1113


What is a sequence in c++?

959


What is type of 'this' pointer? Explain when it is get created?

968


Are strings mutable in c++?

1089


What is c++ good for?

1002


What is the best ide for c++?

1038


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

2581


What is enum c++?

1149


What is the identity function in c++? How is it useful?

994


What is the use of setprecision in c++?

949


What is :: operator in c++?

987