Skip to content

QnA Plus

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

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

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…
Read More

C Program to Reverse a Linked List

Posted by By Srikanta March 17, 2020Posted inProgramming, CNo Comments
Reversing a linked list means re-arranging the next (connection) pointers. Head will point to the last node and the first node will point to NULL. Direction of other next pointers…
Read More

C Program to Count Characters, Words and Lines in a File

Posted by By Srikanta March 15, 2020Posted inProgramming, CNo Comments
To get a quick summary of a file like total number of characters, words and limes, Linux already has a tool, wc. Here we'll see how to write C program…
Read More

C Program to Count Words in a String

Posted by By Srikanta March 13, 2020Posted inProgramming, C2 Comments
For our purpose, a word is a set of consecutive characters without any white-space. For example, 'qnaplus' is a word but 'qna plus' has two words. Here we'll see how…
Read More

Count Occurrences of a Substring in a String in C

Posted by By Srikanta March 11, 2020Posted inProgramming, C2 Comments
Here we'll see how to find out the number of occurrences of a substring in a string. C string library (<string.h>) provides a function (strstr()) to check the presence of…
Read More

Posts pagination

Previous page 1 … 22 23 24 25 26 … 45 Next page
Categories
  • Programming 186
    • C 105
    • C++ 70
    • Python 7
  • Technology 30
  • Networking 6
  • Database 4
  • Others 8

    Popular Posts:

    • C Program to Get a Digit at Any Position of a Number 50 views
    • Change a Variable from inside a C Function 38 views
    • Add New Node to XML File Using libxml2 in C 36 views
    • C Program to Sleep in Milliseconds 33 views
    • How to Take Screenshot on Fedora GNOME Desktop 30 views
    • C Program to Set, Clear and Toggle a Bit 30 views
    • C++ Classes and Objects 30 views
    • How to Implement Periodic and Single Shot Timers in Linux? 28 views
    • Implement Binary Search in C 24 views
    • Swap Two Variables without Using Third Variable 23 views

    [chatbot_plugin]

    Copyright © 2015 - 2026 QnA Plus. All rights reserved.
    Scroll to Top
    2
    4
    1
    9
    11
    4