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

describe private access specifiers?

1240


Why was c++ made?

1108


What is a dll entry point?

1007


Can member data be public?

1037


Search for: what is pair in c++?

1121


Specify different types of decision control statements?

858


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

1264


Which programming language should I learn first?

1097


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

990


Is c++ built on c?

1035


Refer to a name of class or function that is defined within a namespace?

1119


List the special characteristics of constructor.

1180


Can a Structure contain a Pointer to itself?

1142


Explain the auto storage classes in c++.

1103


What are dynamic type checking?

1044