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

= is used to assign the value it is called assignment operator where as
== is used to compare whether the left side and right side values are equal or not

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the keyword auto for?

994


Can a function take variable length arguments, if yes, how?

964


What does scope resolution operator do?

1053


How to access a variable of the structure?

1017


Is it possible to have a recursive inline function in c++?

979


Can I learn c++ without learning c?

951


What are the benefits of pointers?

989


How can you link a c program with a c function?

1012


what are the iterator and generic algorithms.

2097


What is the cout in c++?

1006


Write a program to interchange 2 variables without using the third one.

1007


What is the use of setprecision in c++?

951


Can we run c program in turbo c++?

1044


Will a catch statement catch a derived exception if it is looking for the base class?

963


What is a flag in c++?

1012