Hi Santhosh,

To remember it easily, just consider this.

We know polymorphism means, existing in more than one form. Consider '+'
symbol.



We can use this symbol to add two number, say c = a+b

Or concatenate two string, say myName = "Karthik " + "Mohan"



We as a human can interpret this. But how does a compiler understand
that it need to add the first one and

Concatenate the second one? This is by runtime polymorphism. Based on
the two operands, the compiler decides

whether it should add of concatenate.



And reg extern, when a variable is declared extern, it can be accessed
by any member of the project. We can call

Extern as, universally global !



Regards,

Karthikeyan M

Love is magic,

Rem'ber,

Magic is an illusion.



________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of santoshtera
Sent: Wednesday, March 28, 2007 12:46 PM
To: [email protected]
Subject: [c-prog] Re: Hi all !



HI, this is santosh, can u explain me the runtime polymorphims in
detail, and about extern use.





**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

[Non-text portions of this message have been removed]

Reply via email to