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 c++ hiding?
Why is main an int?
In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h
Is turbo c++ free?
What is the difference between #import and #include in c++?
What is the difference between c++ and turbo c++?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What are the uses of c++ in the real world?
Explain object slicing in c++?
How do you differentiate between overloading the prefix and postfix increments?
What is a local reference?
Is c++ harder than java?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
What is a .h file c++?
How static variables and local variablesare similar and dissimilar?