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

Answer Posted / srabani

= it is used to assign a variable
== it is used to comparison of vale

Is This Answer Correct ?    56 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stack unwinding?

602


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

615


What parameter does the constructor to an ofstream object take?

605


What is the difference between a type-specific template friend class and a general template friend class?

550


What are activex and ole?

534






Does c++ have finally?

561


What are the uses of c++ in the real world?

558


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

1641


What is expression parser in c++

1884


What is else syntax in c++?

634


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

1744


What does the linker do?

585


What is a dynamic binding in c++?

524


What is the difference between #import and #include?

543


What is buffer and example?

521