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

Explain rtti.

600


To what does “event-driven” refer?

615


Do we have to use initialization list in spite of the assignment in constructors?

571


Is c the same as c++?

570


What is a unnitialised pointer?

533






What is enum c++?

618


Write about all the implicit member functions of a class?

602


What is fflush c++?

584


What is c++ and its features?

579


How many different levels of pointers are there?

660


Which programming language's unsatisfactory performance led to the discovery of c++?

810


Is java as fast as c++?

606


Define token in c++.

719


Can a Structure contain a Pointer to itself?

614


Is java a c++?

568