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

Answer Posted / idofsaikat9

'=' assigns a value to a variable whereas '==' checks whether two 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

What do you mean by friend class & friend function in c++?

622


What is c++ stringstream?

612


Write a program to interchange 2 variables without using the third one.

590


What is class syntax c++?

596


What is ofstream c++?

591






what you know about c++?

667


What do you mean by early binding?

603


What is pure virtual function? Or what is abstract class?

595


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

614


How java is different from c and c++?

652


What are the advantages of using friend classes?

631


What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

622


Explain linked list using c++ with an example?

636


explain the reference variable in c++?

581


What is the difference between strcpy() and strncpy()?

614