What is = and == in C language?

Asked by Last Modified  

Follow 2
Answer

Please enter your answer

Tutor for C, Python, Web Dev, AI/ML Basics | 2+ Years Teaching Juniors & Classmates

= is use to assign the value to the variable.It is an assignment operator.where == is use to check if value is equal or not. It is comparison operator.for examplea=5 here 5 is assigned to 'a'a==5 here it check if the value of 'a' which is alreday declared in program is 5 or not.
read more
= is use to assign the value to the variable.It is an assignment operator.where == is use to check if value is equal or not. It is comparison operator.for examplea=5 here 5 is assigned to 'a'a==5 here it check if the value of 'a' which is alreday declared in program is 5 or not. read less
Comments

I am online Quran teacher 7 years

"==" is used to compare two values for equivalence
Comments

C language Faculty (online Classes )

"=" is used to assign a value to a variable. "==" is used to compare two values for equivalence.
Comments

I am a tutor since last 1 year

"==" is used to compare two values for equivalence
Comments

View 2 more Answers

Related Questions

What is meant by high-order and low-order bytes?
Lower order and higher-order bytes are the terms used while computing calculations in a programming language. Usually, numbers are written from left to right. The left is the most significant bit, and...
Profile Photo
Vishal
0 0
View Comments9
How can I learn C easily and rapidly?
Practise as much as you can. Skill in programming comes mainly from experience.
Profile Photo
Umamahesh
0 0
View Comments5
Which language is best, C, C++, Python or Java?
If you want to learn any languages C#, Java, ect. then must to learn C, C++ language as these are base or language to be strong in language skills. C++ is improved version of C language. C#, Java, J# and etc. which are improved version of C++.
Profile Photo
Sribaghya
0 0
View Comments6
What is the best way to comment out a section of code that contains comments?
you can use /* multiple line comments */ and // for single line comments
Profile Photo
Prasad
What is the use of getch(); in the end of c program
getch() is used to hold the console(output) window on the screen after the whole program run is completed till the user enters a key from keyboard. However, the character entered is not displayed on screen....
Profile Photo
Priyanka

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

Ask a Question

Related Lessons

Operators in C
Operators in C Operator: An operator is a symbol that tells the compiler to perform certain mathematical or logical calculations. Operators are used in programs to manipulate data and variables. The...
Profile Photo

Compiler vs Interpreter
Compiler Interpreter Convert all the code into binary format and execute. Convert one statement at a time and execute, then Convert next statement and execute. After conversion, source...
Profile Photo

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...
Profile Photo

C Program-Infinite Loop[For] Demo
//Header Files #include<stdio.h>#include<conio.h> //Main function void main(){ //Function for clearing screen clrscr(); //Infinite for loop for(;;) { printf("Hello!"); } //Function for...
Profile Photo

Some interview questions for freshers on C language
Q1. What are the two forms of #include? There are two variants of #include. The one is #include and the other one is #include”file”. In general the first form that is #include is used to...
Profile Photo

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 >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

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