What is the difference between = and == in C?
Answer Posted / vaibhav meena
= is assignment operator. It is used to assigne a value to a
variable.
and == is a comparison operator is is used to compare to values.
| Is This Answer Correct ? | 27 Yes | 5 No |
Post New Answer View All Answers
What is the difference between global variables and local variable
What is the purpose of ios::basefield in the following statement?
What do you mean by a template?
What is a vector c++?
When must you use a pointer rather than a reference?
Specify some guidelines that should be followed while overloading operators?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
Does a derived class inherit or doesn't inherit?
What is a literal in c++?
write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num
Why should we use null or zero in a program?
What is an accessor in c++?
Is c++ a difficult language?
Explain what you mean by a pointer.
What is flush c++?