Execute User Defined Function Before Main() in C

We know that the main() function is the entry point of a program. This is generally true. But we can execute some functions even before main() starts. In some circumstances, you might need to execute an user defined function before main(). For example, if you are creating a library, you might need to initialize certain … Continue reading “Execute User Defined Function Before Main() in C”

Circular Linked List in C

Circular linked list is like a regular linked list except its last node points to the first node. Generally the last node of linked list points to NULL. But the last node of circular linked list points back to the first node. If you traverse a regular linked list, you can not come back to … Continue reading “Circular Linked List in C”

Undo an Already Sent Email in Gmail

After sending an email, sometimes we realize that we shouldn’t have sent that. You might accidentally sent that to wrong person or an incomplete email. Good news is that you can undo an already sent email in Gmail. But the bad news is that you have only 30 seconds. After that once the email is … Continue reading “Undo an Already Sent Email in Gmail”

Stock Analysis on Google Sheet

Today there is no shortage of stock analysis sites. You can get virtually any information from there. But generally we don’t do heady duty analysis or track tons of information on daily basis. For example, we track handful of stocks whether any of them does down by more than 20 percent from its 52-week peak. … Continue reading “Stock Analysis on Google Sheet”

Search for an XML Node using libxml2 in C

XML is widely used format to store or transmit data over internet. Here we’ll see how to search for an XML node in a file. We’ll use this XML file as an example. Search XML Node by its Name First we’ll see how to search a node based on its name. In the above example … Continue reading “Search for an XML Node using libxml2 in C”

4
0
1
5
0
0