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
describe private access specifiers?
Why was c++ made?
What is a dll entry point?
Can member data be public?
Search for: what is pair in c++?
Specify different types of decision control statements?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
Which programming language should I learn first?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Is c++ built on c?
Refer to a name of class or function that is defined within a namespace?
List the special characteristics of constructor.
Can a Structure contain a Pointer to itself?
Explain the auto storage classes in c++.
What are dynamic type checking?