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

1. First of all = is a assignment operator and == is a
comparision operator
2.= give you the same vale like x=y means if x=5 then y=5
on the otehr hand if x==y then it will give you the true or
false
eg if x==5
y==5
then return true

Is This Answer Correct ?    98 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between strdup and strcpy?

1210


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3854


How many keywords are used in c++?

1021


Why use of template is better than a base class?

1189


How much do c++ programmers make?

1122


How many namespaces are there in c++?

1075


Explain what is oop?

1097


Is c++ a good first language to learn?

1075


How do you flush a buffer in c++?

1106


What is a class template in c++?

1056


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

1116


What are the uses of pointers?

1079


How do you remove an element from a set in c++?

1094


What do you mean by inheritance in c++? Explain its types.

1152


Explain Text Manipulation Routines?

1085