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

= is used to assign the values to the variables.

Eg:- int a=5,b;
b=a;

== is used for comparison purpose.

Eg:- if(a==b)
continue;

Is This Answer Correct ?    31 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are c++ storage classes?

1112


What is the use of endl in c++?

1023


Explain deep copy?

1066


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

990


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3894


How do you decide which integer type to use?

1017


What are the vectors in c++?

1035


What is the basic difference between C and C++?

1187


When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?

1111


What are the basic data types used in c++?

1045


Define whitespace in C++.

1224


What is static in c++?

1069


What is std :: flush?

1083


Show the declaration for a static member variable.

1009


What is c++ w3school?

1118