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

Write a c program for binary addition of two 8 bit numbers.

4163


How is objective c different from c++?

1303


What kind of jobs can I get with c++?

1147


Write a recursive program to calculate factorial in c++.

1137


What jobs can you get with a c++ certification?

1105


How does list r; differs from list r();?

1196


What is ios class in c++?

1174


Is c++ primer good for beginners?

1084


Is multimap sorted c++?

1072


Evaluate !(1&&1||1&&0) a) Error b) False c) True

1258


What is the function of I/O library in C++ ?

1268


What are multiple inheritances (virtual inheritance)?

1112


Define a conversion constructor?

1152


What is the difference between prefix and postfix versions of operator++()?

1134


What's the "software peter principleā€?

1193