Posted by: genemesis | January 8, 2010

Lazy Variable

Lets Celebrate!!
A new variable is born today
Lets Rejoice!!
One data member is added to a class today

Like every infant variable,
Its mind is filled with garbage,
Which will be cleared by constructror usage.
Born to the integer family,
So it bacame an integer baby named Lazy.
Lets celebrate!! Lets Rejoice!!

With the local scope and 2 byte size,
It started its journey as programmer’s Knight.
Under the guidance of a pointer,
It learnt the tactics of playing with processor.
Lets celebrate!! Lets Rejoice!!

On its way it met another variable,
Of size 8 byte and type double,
converting its type to the one with dot
They became double couple as per programmer’s plot.
Lets Celebrate!! Lets Rejoice!!

My friend life is short,
Thus came the time for the program to abort
So Lazy must die
Vacating the memory and saying “Good Bye”.
With Lazy gone, now there’s
Nothing to Celebrate!! Nothing to Rejoice!!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.