C Program to Set, Clear and Toggle a Bit Posted by By Srikanta March 31, 2020Posted inProgramming, CNo Comments In this article we saw how to check a particular bit of a number. Here we'll see how to set, clear or toggle a bit of a number. Setting a…
C Program to Move the Last Node to the Front of a Linked List Posted by By Srikanta March 27, 2020Posted inProgramming, CNo Comments Here we'll see how to write C Program to move the last node to the front of a linked list. We can do that just by re-arranging the pointers. No…
C Program to Delete the Last Node of a Linked List Posted by By Srikanta March 25, 2020Posted inC, ProgrammingNo Comments Here we'll see how to delete the last node of a linked list. The last node always points to NULL. To delete that, we have to traverse up to last…
C Program to Delete the First Node of a Linked List Posted by By Srikanta March 24, 2020Posted inProgramming, CNo Comments Here we'll see how write C program to delete the first node of a linked list. Head always points to the first node. Head will move to where the first…
C Program to Swap Two Numbers Posted by By Srikanta March 22, 2020Posted inProgramming, CNo Comments Here we'll discuss about different techniques how we can swap two numbers. Swapping two numbers means exchanging the values of two variables. For example, if value of A is 5…