Skip to content
QnA Plus

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

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

C

  • Home
  • Programming
  • C
  • Page 10

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 inProgramming, CNo 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

C Program to Check a Bit of an Integer

Posted by By Srikanta March 8, 2020Posted inProgramming, CNo Comments
An integer consists of 32 bits. Here we'll see how to write C program to check whether a particular bit is 0 or 1. The above diagram shows the binary…
Read More

Change a Pointer from inside a C Function

Posted by By Srikanta February 14, 2020Posted inProgramming, CNo Comments
We can change normal variable from inside a C function by passing the pointer of the variable. Here we'll see how to change a pointer variable from inside a C…
Read More

Change a Variable from inside a C Function

Posted by By Srikanta February 7, 2020Posted inProgramming, CNo Comments
Variables are meant to be changed. But changing a variable from inside a function is a tricky one in C-like programming. Let's consider this code snippet. #include <stdio.h> void change_value(int…
Read More

Posts pagination

Previous page 1 … 8 9 10 11 12 … 21 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 69 views
    • Implement Bubble Sort in C 45 views
    • How to install Ping or Ping6 using YUM 44 views
    • How to Implement Periodic and Single Shot Timers in Linux? 39 views
    • Count Occurrences of a Substring in a String in C 38 views
    • Change a Variable from inside a C Function 32 views
    • Understanding the override Keyword in C++ 31 views
    • Method Chaining in C++ 29 views
    • Stock Analysis on Google Sheet 27 views
    • Left and Right Rotate Bits of a Number in C 26 views

    [chatbot_plugin]

    Copyright © 2015 - 2026 QnA Plus. All rights reserved.
    Scroll to Top
    5
    12
    7
    12
    17
    5