What is = and == in C language?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Experienced and certified computer science tutor

In C,= is assignment operator and == is equality operator that is used to compare two values or expressions.
Comments

solve Physics and math question in shortcut way

Assignment and comparision operation respectively
Comments

Assistant professor in Computee sci Engg , 13 years experience,UGC Net Set qualified

= is assignment operator where u assign some value into variable. Eg a=6; Here we are storing or assigning value 6 into a variable. == Is for comparison ,it will comare two values or variable. Eg a=4 b=3 Result of a==b will be false because they are not equal after comapring.
read more
= is assignment operator where u assign some value into variable. Eg a=6; Here we are storing or assigning value 6 into a variable. == Is for comparison ,it will comare two values or variable. Eg a=4 b=3 Result of a==b will be false because they are not equal after comapring. read less
Comments

View 1 more Answers

Related Questions

What purpose does \n have in C programming?
is used for new line. It prints the output in New or next line
Nasar
0 0
9
How can I avoid the error messages?
When there is a syntax error in the program the compiler indicates it by giving error messages. By following proper syntax we can avoid error messages. Syntax is like grammar rules of english language.
Yusufali
What is C language?
it is a computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations
Uday
What is the use of "\n" in C language?
break a line into two and shift the remaining value/ characters to a new line.
Tanush
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

C and C++ programming with memory level debugging
Understanding C and C++ programming by using memory level debugging. Step 1: Understand the Memory map of C executable Step 2: Start memory level debugging using popular IDE Step 3: Find the memory...


Lets know about far, near and huge pointers for fresher interview purpose
All of these three candidates relate to 16 bit architecture where segmented memory architecture was there. They are not at all relevant for present days 32 or 64 bit architecture where the way of memory...

Features Of C Language
Features of C language It is a robust language with rich set of built-in functions and operators that can be used to write any complex program. The C compiler combines the capabilities of an assembly...

Find out the Output of the following with reason and get C Language Training fess less by 10%
1. void main() { clrscr(); printf(5+"Beautifull"); getch(); } 2. void main() { int a=50; clrscr(); ...

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you