Total Pageviews

Tuesday, November 29, 2011

Guitar Chords : Why this Kolaveri Di?

Hi Guitar enthusiasts,  this is my first post on guitar chords. Though i am presently in a Long Distance Relationship with my stunner, i used a friend's guitar for a while to figure out the chords for this hyped song.The lyrics are incredibly stupid but you might have been appreciating the awesomeness of the music.You may try these chords to play it.Do temme if you come up with a better and precise chord in any of the notes. Strumming can be done as per wish.Slow DDUDUDUD can work as i think.Enjoy!!

The chorus is based on this sequence :

(Fm)Why this kolaveri (Eb)kolaveri (Bbm)di…(Eb)….



Rest of the song can be done like the last stanza as follows:

(Fm)God I am (Eb)Dying Nøw
(C#)She Is Happy How(Eb)?
(Fm)This Song (Eb)Pass To Boys
(C#)We Don’t Have Choice(Eb)

Monday, November 28, 2011

C loves me...C loves me not...

Hi C Programmers,caught up in another sticky situation. And you gotta help me out in this.Pertains to pointers and all stuff.Hope you come up with a soultion. Long live C.


This program gives an error of "invalid lvalue in increment" in the line with printf()
#include <stdio.h>
main()
{ int p =1;
printf("%d",++p++);

}

But if we modify the program to operate it on a pointer as follows:

#include <stdio.h>
main()
{ int *p,a =1 ;
 p = &a;
printf("%d",++*p++);
}

It runs successfully and prints '2' as output.
What is causing the difference here.Variable 'p' and '*p' are both integers being treated in the same way.The only aberration here  is that if i put *p in parenthesis in the second program like (*p),it gives the same error as in the first program!!Please quote a possible explanation to it

Saturday, November 26, 2011

Miss you more than you’d ever know



Miss the bliss of you being around
Miss being with you , ‘love-drowned’
The only solace in life I had
‘Till death we part’ you said
My heart’s restlessness that I can’t show
Miss you more than you’d ever know

Miss your essence in the air
The beautiful moments that we did share
Things we did just for each other
Things that took us further and farther
And they are falling apart slow
Miss you more than you’d ever know

The lost candor of things around
The baroque feelings no more surround
Love wasn’t supposed to have such an ending
You parting away and I am still standing
There are words that still remain
Crimson words darker than a staid stain
Miss you..
Miss you more than you’d ever know

Thursday, November 17, 2011

C loves me...C loves me not...

Hi C programmers, i got stuck at this piece of code and concept of precedence, associativity and order of evaluation within printf() in C.Most of you are adept C programmers.So please, you gotta help me out in explaining the output of this code.This post may clarify some of your queries as well as unary operators are very important.

#include <stdio.h>
void main()
{
 int j = 1;

printf("%d%d%d%d" ,++j,j++,j,--j);

}
 Output is 2022
but as my friends and I thought, it should be 2020 if we consider the order of evaluation to be R to L.
Please reply to this post if you find a possible explanation to it.

Wednesday, November 16, 2011

A broken email from a broken heart

Hi all, though havent been very much spry in posting but here is another one.A friend of mine shared an email sent to him from his rabid ex-girlfriend. I don't know the reasons why they broke up nor i did ask (scurvy)him to know 'who ditched whom thing'  as i wasn't interested to get into his personal matters.You may have a little different perception of it after you read it but i found it a little funny that's why posting it here.I have nothing against the girl or her emotions nor i know whether the guy's sin is venial or not, but i find her choice of words a little funny towards the end of the mail and her gall towards the guy is worth an appreciation.To recapitulate again, seriously i am not making fun or baiting against anyone here, just found this thing a little funny and that's why sharing it.Wrote it in a little headlong way.Okay now stopping slurring.
In its original unedited version  -

rahul just wanna tell u that one day  u will get punished for hurting every single girl and i hope its the worst punishment ever..now i dont want u to reply cause i dont give a fuck about u but i read something that hurt me from u so just want to say i hope u die...goodnight u will get killed by girls like u kill them..ur a player! ur family should be ashamed..goodnight