Skip to content

QnA Plus

Code, Create, Conquer: Insights, Algorithms, and Innovation!

  • Home
  • Privacy Policy
  • Terms and Conditions
  • Contact
  • Contribute
  • About

Custom Deleter in std::unique_ptr

Posted by By Srikanta September 14, 2019Posted inProgramming, C++No Comments
In my previous article, we discussed how std::unique_ptr helps to avoid memory leak. By default it calls the default deleter (C++ delete operator) when the std::unique_ptr goes out of context.…
Read More

C Program to Find the Sum of all Digits of a Number

Posted by By Srikanta September 2, 2019Posted inProgramming, C2 Comments
Here we'll see how to write a C program to find the summation of all digits in a number. For example, the sum of the digits of 43652 is 20…
Read More

C Program to Search for an Element in Linked List

Posted by By Srikanta September 2, 2019Posted inC, ProgrammingNo Comments
Here we'll see how to write a C program to find an element in a linked list. The function is_present() takes a linked list (head pointer) and a value (val)…
Read More

C Program to Print the Length of a Linked List

Posted by By Srikanta August 29, 2019Posted inProgramming, CNo Comments
Here we'll see how to write a C program to print the length of a linked list. The function get_length() takes a linked list as input and returns the length…
Read More

C Program to Check Whether Two Linked Lists are Equal

Posted by By Srikanta August 28, 2019Posted inProgramming, CNo Comments
Here we'll see how to write a C program to compare two linked lists. First we'll create three linked lists, first two are equal and third one is different. We'll…
Read More

Posts pagination

Previous page 1 … 25 26 27 28 29 … 45 Next page
Categories
  • Programming 187
    • C 105
    • C++ 71
    • Python 7
  • Technology 30
  • Networking 6
  • Database 4
  • Others 8

    Popular Posts:

    • How to Implement Periodic and Single Shot Timers in Linux? 74 views
    • C Program to Sleep in Milliseconds 56 views
    • Forgot Grid Pattern Lock or Password of Your Android Phone? Here Is How You Can Unlock It 40 views
    • Change a Variable from inside a C Function 37 views
    • Capture Protocol Packets from Remote Windows or Linux Computer using Wireshark 33 views
    • C Program to Delete the Last Node of a Linked List 29 views
    • Implement Bubble Sort in C 26 views
    • How to Compile Linux Kernel Module 23 views
    • C Program to Insert a Node in a Linked List 22 views
    • C Program to Get a Digit at Any Position of a Number 21 views

    [chatbot_plugin]

    Copyright © 2015 - 2026 QnA Plus. All rights reserved.
    Scroll to Top
    2
    2
    1
    3
    10
    1