What is the difference between = and == in C?

Answer Posted / datta khilari

= operator is assignment operator

== is operator comparision two values

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the most powerful programming language?

600


If a function doesn’t return a value, how do you declare the function?

618


Why is polymorphism useful?

569


Can we specify variable field width in a scanf() format string? If possible how?

666


What is an orthogonal base class in c++?

662






Which software is best for programming?

664


What does it mean to declare a destructor as static?

628


Explain mutable storage class specifier.

637


What is lazy initialization in c++?

656


What is the standard template library (stl)?

625


Which one between if-else and switch is more efficient?

605


Write an algorithm that determines whether or not an almost complete binary tree is a heap.

3431


Write about all the implicit member functions of a class?

602


What is bubble sort c++?

576


What is the difference between reference and pointer?

614