What is the difference between = and == in C?

Answer Posted / d.sreenu

= is assignment operator & == is equality operator in C
= operator is used to assign a value to the variable
== operator is used to compare two variables.

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Approximately, what were the sizes of your transistors in the SRAM cell? How did you arrive at those sizes?

783


How does Vbe and Ic change with temperature?

3066


Describe the various effects of scaling?

4418


what is a sequential circuit?

700


Explain what is the depletion region?

729






What are the steps involved in designing an optimal pad ring?

806


What are the changes that are provided to meet design power targets?

751


Explain how Verilog is different to normal programming language?

785


Mention what are three regions of operation of mosfet and how are they used?

688


Explain the working of 4-bit Up/down Counter?

4108


How do you size NMOS and PMOS transistors to increase the threshold voltage?

2655


How can you construct both PMOS and NMOS on a single substrate?

4599


What is the difference between nmos and pmos technologies?

753


Explain the Various steps in Synthesis?

2937


Draw the Differential Sense Amplifier and explain its working. Any idea how to size this circuit? (Consider Channel Length Modulation)

1000