Explain the difference between the ‘=’ and ‘==’ operator?

: 790
Paper : C Programming FAQ (Frequently Asked Questions and answers) for freshers | Platform : Procedural Programming Languages | Category : Programming FAQs

‘=’ is an assignment operator which is used to assign the value in the variable and ‘==’ is a comparison operator which is used to check LHS is equal to RHS or not.

Suggested Papers: