Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

Answer / veeramuthu k

'=' in c is the assignment opperator.whereas '==' is the
logical equality operator.

Is This Answer Correct ?    35 Yes 0 No

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

Answer / priyanka kokil

= is the assignment operator while == is equality operator

Is This Answer Correct ?    20 Yes 0 No

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

Answer / 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

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

Answer / swapna

= 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 ?    14 Yes 0 No

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

Answer / indian

I NEED MORE....

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More VLSI Interview Questions

Give the cross-sectional diagram of the cmos.

0 Answers  


How does a pn junction works?

2 Answers   Wipro,


Explain Cross section of an NMOS transistor?

0 Answers   Intel,


Basic Stuff related to Perl?

0 Answers   Intel,


Describe a finite state machine that will detect three consecutive coin tosses (of one coin) that results in heads.

0 Answers   Intel, Sun Microsystems,


Are you familiar with the term MESI?

1 Answers   Intel,


Explain the concept of a Clock Divider Circuit? Write a VHDL code for the same?

3 Answers   Intel,


Give the logic expression for an AOI gate. Draw its transistor level equivalent. Draw its stick diagram

0 Answers   Infosys,


If an/ap = 0.5, an/ap = 1, an/ap = 3, for 3 inverters draw the transfer characteristics?

0 Answers   Intel,


What products have you designed which have entered high volume production?

1 Answers   Intel,


What transistor level design tools are you proficient with? What types of designs were they used on?

0 Answers   Intel,


You have a driver that drives a long signal & connects to an input device. At the input device there is either overshoot, undershoot or signal threshold violations, what can be done to correct this problem?

0 Answers   Intel,


Categories