Skip to content
QnA Plus

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

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

Programming

  • Home
  • Programming
  • Page 21

Add New Node to XML File Using libxml2 in C

Posted by By Srikanta April 4, 2020Posted inProgramming, CNo Comments
In the previous article, we saw how to parse an XML file. Here we'll see how to add new node to XML file using C programming language. Here also we'll…
Read More

Count Set Bits of a Number in C

Posted by By Srikanta April 3, 2020Posted inProgramming, CNo Comments
A number consists of multiple bits in its binary representation. For example, an integer would have 32 bits and a long would have 64 bits on 64-bit system. Bit values…
Read More

Brian Kernighan’s Algorithm to Count the Set Bits of a Number

Posted by By Srikanta April 2, 2020Posted inC, ProgrammingNo Comments
To count all set bits of a number, we can loop through all the bits and check whether any bit is set. For example, an integer has 32 bits. We…
Read More

Left and Right Rotate Bits of a Number in C

Posted by By Srikanta April 1, 2020Posted inProgramming, CNo Comments
Here we'll see how to write C program to left or right rotate bits of a number. For example, an unsigned integer consists of 32-bit. Number 2591458749 is represented as…
Read More

C Program to Toggle Bits

Posted by By Srikanta March 31, 2020Posted inProgramming, CNo Comments
Here we'll see how to write C program to toggle all bits or a particular bit or all but a particular bit of a number. Toggle All Bits of a…
Read More

Posts pagination

Previous page 1 … 19 20 21 22 23 … 38 Next page
Categories
  • Programming 186
    • C 105
    • C++ 70
    • Python 7
  • Technology 30
  • Networking 6
  • Database 4
  • Others 8

    Popular Posts:

    • Implement Bubble Sort in C 114 views
    • C Program to Sleep in Milliseconds 97 views
    • How to install Ping or Ping6 using YUM 93 views
    • How to Implement Periodic and Single Shot Timers in Linux? 83 views
    • Change a Variable from inside a C Function 57 views
    • C Program to Find the Longest Word in a String 53 views
    • C Program to Check Whether Two String are Equal 52 views
    • How to Store SVN Password in Encrypted Form in Linux 47 views
    • C Program to Print the Current File Name and Line Number 43 views
    • How to Re-Indent C Code Using Notepad++ 41 views

    💬
    Chat with Us!

    Copyright © 2015 - 2025 QnA Plus. All rights reserved.
    Scroll to Top
    7
    4
    3
    9
    17
    5