What is the difference between = and == in C?
Answer Posted / mallika
= is used to assign the values to the variables.
Eg:- int a=5,b;
b=a;
== is used for comparison purpose.
Eg:- if(a==b)
continue;
| Is This Answer Correct ? | 31 Yes | 6 No |
Post New Answer View All Answers
Write a c program for binary addition of two 8 bit numbers.
How is objective c different from c++?
What kind of jobs can I get with c++?
Write a recursive program to calculate factorial in c++.
What jobs can you get with a c++ certification?
How does list r; differs from list r();?
What is ios class in c++?
Is c++ primer good for beginners?
Is multimap sorted c++?
Evaluate !(1&&1||1&&0) a) Error b) False c) True
What is the function of I/O library in C++ ?
What are multiple inheritances (virtual inheritance)?
Define a conversion constructor?
What is the difference between prefix and postfix versions of operator++()?
What's the "software peter principleā?