ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Embedded Systems  >>  VLSI
 
 


 

 
 86 Family interview questions  86 Family Interview Questions
 VLSI interview questions  VLSI Interview Questions
 DSP interview questions  DSP Interview Questions
 Embedded Systems AllOther interview questions  Embedded Systems AllOther Interview Questions
Question
What is the difference between = and == in C?
 Question Submitted By :: Markus
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between = and == in C?
Answer
# 1
'=' in  c is the assignment opperator.whereas '==' is the 
logical equality operator.
 
Is This Answer Correct ?    1 Yes 0 No
Veeramuthu K
 
  Re: What is the difference between = and == in C?
Answer
# 2
= is the assignment operator while == is equality operator
 
Is This Answer Correct ?    0 Yes 0 No
Priyanka Kokil
 
 
 
  Re: What is the difference between = and == in C?
Answer
# 3
= 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 ?    0 Yes 0 No
D.sreenu
 
  Re: What is the difference between = and == in C?
Answer
# 4
I NEED MORE....
 
Is This Answer Correct ?    0 Yes 0 No
Indian
 
  Re: What is the difference between = and == in C?
Answer
# 5
= is used for assigning the value to a variable
for example
int a=10;
if a=5
printf("%d",a);
else
printf("%d",a);

output:5
in this program a value is assigned to 5 and 5 is printed.

whereas
== is used to check the value of the variable
for example
int a=10;
if a==5
printf("%d",++a);
else
printf("%d",a);

output:10

in this value of a is checked with 10 .If it is equal if 
stmt is true and a is incrementd and printed.
If it is not equal a value is printed.
 
Is This Answer Correct ?    0 Yes 0 No
Swapna
 

 
 
 
Other VLSI Interview Questions
 
  Question Asked @ Answers
 
Are you familiar with the term MESI? Intel1
Why is Extraction performed? Intel1
What are the different limitations in increasing the power supply to reduce delay?  1
Implement an Inverter using a single transistor? Intel1
What are the two types of noise of MOSFET, how to eliminate them?(Thermal and Flicker). Analog-Devices2
Define threshold voltage? Intel3
What products have you designed which have entered high volume production? Intel1
Have you studied pipelining? List the 5 stages of a 5 stage pipeline. Assuming 1 clock per stage, what is the latency of an instruction in a 5 stage machine? What is the throughput of this machine ? Intel2
What is the difference between = and == in C? Intel5
What happens when the gate oxide is very thin? Intel2
How do you detect if two 8-bit signals are same?  4
What is Noise Margin? Explain the procedure to determine Noise Margin? Cisco2
Differences between DRAM and SRAM? Intel4
What is SPICE? Intel1
In what cases do you need to double clock a signal before presenting it to a synchronous state machine? Intel2
Explain about stuck at fault models, scan design, BIST and IDDQ testing? Intel1
What is a linked list? Explain the 2 fields in a linked list? Intel1
What is polymorphism? (C++) Intel1
What is LVS, DRC? Intel4
Have you studied buses? What types? Intel1
 
For more VLSI Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com