in Technology by

Describe the difference between = and == symbols in C programming?

1 Answer

0 votes
by

‘==’ is the comparison operator which is used to compare the value or expression on the left-hand side with the value or expression on the right-hand side.

‘=’ is the assignment operator which is used to assign the value of the right-hand side to the variable on the left-hand side.

Related questions

0 votes
    Describe the header file and its usage in C programming?...
asked Nov 8, 2020 in Technology by JackTerrance
+1 vote
    Describe the file opening mode “w+” in C Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    Describe dynamic data structure in C programming language?...
asked Nov 8, 2020 in Technology by JackTerrance
0 votes
    Describe Wild Pointers in C Progamming?...
asked Nov 8, 2020 in Technology by JackTerrance
+1 vote
    What is the difference between variable declaration and variable definition in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
+1 vote
    What is the difference between actual and formal parameters in C-Programming?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    Explain the meaning of following symbols A and B and C. A. B. C. Select the correct answer ... Science,Science proposed by,electromagnetic theory engineering physics,Science nptel...
asked Nov 7, 2021 in Education by JackTerrance
0 votes
    2. Which of the following symbols does the formula usage in Calc start with? a. : (Colon) b. = (Equal to) C. ; (Semi colon) I Select the correct answer from above options...
asked Dec 2, 2021 in Education by JackTerrance
0 votes
    What is the difference between an object-oriented programming language and object-based programming language?...
asked Nov 17, 2020 in Education by Editorial Staff
+1 vote
0 votes
    What is a difference between unsigned int and signed int in C?...
asked Jan 23, 2021 in Technology by JackTerrance
0 votes
    What is the difference between pass by value by reference in c and pass by reference in c?...
asked Jan 21, 2021 in Technology by JackTerrance
0 votes
    What is the difference between #import and #include in Objective-C?...
asked Nov 10, 2020 in Technology by JackTerrance
...