Since the size of array is very less I think Hashmap is the best.
Use name as the hash key and number as its value.
On Thursday, June 14, 2012 6:46:34 PM UTC+5:30, utsav sharma wrote:
it can be done using map in c++
On Thu, Jun 14, 2012 at 4:23 PM, Mohit Rathi mohit08...@iiitd.ac.inwrote:
The comma operator (represented by the token ,) is a binary operator
that evaluates its first operand and discards the result, it then
evaluates the second operand and returns this value (and type). The
comma operator has the lowest precedence of any C operator, and acts
as a sequence point.
since comma operator has the lowest precedence of any C operator
(y=1),024;
thus y=1
On Feb 6, 10:18 am, Balaji S balaji.ceg...@gmail.com wrote:
well, i can understand how x gets 20...but how y becomes 1???
--
You received this message because you are subscribed to the Google Groups
Algorithm