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
What is the keyword auto for?
Can a function take variable length arguments, if yes, how?
What does scope resolution operator do?
How to access a variable of the structure?
Is it possible to have a recursive inline function in c++?
Can I learn c++ without learning c?
What are the benefits of pointers?
How can you link a c program with a c function?
what are the iterator and generic algorithms.
What is the cout in c++?
Write a program to interchange 2 variables without using the third one.
What is the use of setprecision in c++?
Can we run c program in turbo c++?
Will a catch statement catch a derived exception if it is looking for the base class?
What is a flag in c++?