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 23

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

C Program to Copy an Array to Another

Posted by By Srikanta March 9, 2020Posted inC, ProgrammingNo Comments
We can not copy an array using simple assignment operation like any other primitive data types. Here we'll discuss the techniques to copy an array from one to another. By…
Read More

Posts pagination

Previous page 1 … 21 22 23 24 25 … 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 98 views
    • How to install Ping or Ping6 using YUM 93 views
    • How to Implement Periodic and Single Shot Timers in Linux? 84 views
    • Change a Variable from inside a C Function 57 views
    • C Program to Find the Longest Word in a String 54 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
    0
    0
    0
    0
    0
    0