What is the difference between = and == in C?
Answer Posted / sunita
1. First of all = is a assignment operator and == is a
comparision operator
2.= give you the same vale like x=y means if x=5 then y=5
on the otehr hand if x==y then it will give you the true or
false
eg if x==5
y==5
then return true
| Is This Answer Correct ? | 98 Yes | 16 No |
Post New Answer View All Answers
Difference between strdup and strcpy?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
How many keywords are used in c++?
Why use of template is better than a base class?
How much do c++ programmers make?
How many namespaces are there in c++?
Explain what is oop?
Is c++ a good first language to learn?
How do you flush a buffer in c++?
What is a class template in c++?
What kind of jobs can I get with c++?
What are the uses of pointers?
How do you remove an element from a set in c++?
What do you mean by inheritance in c++? Explain its types.
Explain Text Manipulation Routines?