2018 - c language

Monday, 22 January 2018

Incrementing pointer (ptr++) and (*ptr++)

Question: - difference between ptr++ , (*ptr++) and (++*ptr) I was revisiting pointers when I had this doubt. int * ptr ; int arr [...
Read More

Wednesday, 17 January 2018

Count trailing zero bits using lookup table

Count trailing zero bits using lookup table Given an integer, count the number of trailing zeroes. For example, for n = 12, its bina...
Read More

Monday, 15 January 2018

Flow of C Program

Flow of C Program The C program follows many steps in execution. To understand the flow of C program well, let us see a simple program f...
Read More