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? 50 views
    • Forgot Grid Pattern Lock or Password of Your Android Phone? Here Is How You Can Unlock It 47 views
    • C Program to Get a Digit at Any Position of a Number 39 views
    • Change a Variable from inside a C Function 38 views
    • C Program to Sort Linked List without Allocating Extra Memory 31 views
    • Implement Bubble Sort in C 31 views
    • Left and Right Rotate Bits of a Number in C 29 views
    • Count Occurrences of a Substring in a String in C 28 views
    • Add New Node to XML File Using libxml2 in C 27 views
    • Python | Check Whether a String is Palindrome 27 views

    💬
    Chat with Us!

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