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:

    • Implement Bubble Sort in C 121 views
    • C Program to Sleep in Milliseconds 97 views
    • How to install Ping or Ping6 using YUM 95 views
    • How to Implement Periodic and Single Shot Timers in Linux? 88 views
    • Change a Variable from inside a C Function 58 views
    • C Program to Check Whether Two String are Equal 49 views
    • How to Store SVN Password in Encrypted Form in Linux 46 views
    • C Program to Find the Longest Word in a String 46 views
    • How to Re-Indent C Code Using Notepad++ 44 views
    • How to do Asynchronous Operations using boost::asio? 41 views

    💬
    Chat with Us!

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