Pick the operators whose meaning is context dependent?
1. *
2.#
3.
4.No such operator exists
Plz gv the diff contexts if applicable...
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to
Does context dependent means a single operator having different meaning when
used in different contexts or scenarios???
If so then * is dereferencing operator for pointers and also an arithmetic
operator
as *a pointer dereference and a*b multiplication
and (bitwise and) and also address operator
* - used for multiplication as well as dereferencing
=use for bit wise and and also for address
# also i guess
On Mon, Aug 15, 2011 at 6:45 PM, aditi garg aditi.garg.6...@gmail.comwrote:
Pick the operators whose meaning is context dependent?
1. *
2.#
3.
4.No such operator exists
Plz gv
1 and 3, I guess.
* used in multiplication (a*b) and also in pointers(*b).
used in bitwise operations (ab)and also as address operator(b).
Not sure about '#', haven't used much.
On 15 August 2011 18:45, aditi garg aditi.garg.6...@gmail.com wrote:
Pick the operators whose meaning is context
* is contexxt dependent..it can be multiplication or used to define and
indicate pointers.
# is context dependent mainly d diff is btwn #include(for header files) and
#define(for constants,aliases,etc.)
is bitwise AND or can be used for ADDRESS OF operator also.
Pls add or remove anything if
* it can be used as a deferencing operator in pointers or in multiplication
On Mon, Aug 15, 2011 at 6:45 PM, aditi garg aditi.garg.6...@gmail.comwrote:
Pick the operators whose meaning is context dependent?
1. *
2.#
3.
4.No such operator exists
Plz gv the diff contexts if applicable...
even 2
On Mon, Aug 15, 2011 at 6:53 PM, Dipankar Patro dip10c...@gmail.com wrote:
1 and 3, I guess.
* used in multiplication (a*b) and also in pointers(*b).
used in bitwise operations (ab)and also as address operator(b).
Not sure about '#', haven't used much.
On 15 August 2011 18:45,
@rajeev:+1
On Mon, Aug 15, 2011 at 6:50 PM, rajeev bharshetty rajeevr...@gmail.comwrote:
Does context dependent means a single operator having different meaning
when used in different contexts or scenarios???
If so then * is dereferencing operator for pointers and also an arithmetic
operator