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 28

C Program to Check Whether a Number is Palindrome

Posted by By Srikanta August 24, 2019Posted inProgramming, CNo Comments
Palindrome number reads the same from both directions, forward and backward. For example, "156434651" reads the same from both directions. If we reverse a palindrome number, the reversed number would…
Read More

C Program to Check Whether a String is Palindrome

Posted by By Srikanta August 22, 2019Posted inC, ProgrammingNo Comments
Palindrome string is a string that reads the same from both forward and backward directions. For example, "madam" reads the same from both directions. If you reverse a palindrome string,…
Read More

C Program to Reverse a String

Posted by By Srikanta August 16, 2019Posted inProgramming, CNo Comments
Here we'll see how to write a C program to reverse a string. Solution 1 void reverse_string(char *input, char *output) { int len = 0, i = 0; if(input ==…
Read More

C Program to Reverse an Integer

Posted by By Srikanta August 14, 2019Posted inProgramming, CNo Comments
Here we'll see how to write C program to reverse an integer. The reverse_integer() function takes an integer like 5234569 and returns 9654325. #include <stdio.h> unsigned int reverse_integer(unsigned int in)…
Read More

C Program to Sleep in Milliseconds

Posted by By Srikanta August 13, 2019Posted inProgramming, CNo Comments
We don't have millisecond level control in the sleep() function. But in Linux we can implement our own function that will take duration in milliseconds as input and sleep for…
Read More

Posts pagination

Previous page 1 … 26 27 28 29 30 … 38 Next page
Categories
  • Programming 187
    • C 105
    • C++ 71
    • Python 7
  • Technology 30
  • Networking 6
  • Database 4
  • Others 8

    Popular Posts:

    • How to Implement Periodic and Single Shot Timers in Linux? 81 views
    • Implement Bubble Sort in C 62 views
    • C Program to Insert a Node in a Linked List 49 views
    • Count Occurrences of a Substring in a String in C 49 views
    • Change a Variable from inside a C Function 48 views
    • Left and Right Rotate Bits of a Number in C 46 views
    • How to Install and Configure MySQL on CentOS: A Complete Guide 46 views
    • C Program to Sort Linked List without Allocating Extra Memory 41 views
    • C Program to Count Characters, Words and Lines in a File 41 views
    • Forgot Grid Pattern Lock or Password of Your Android Phone? Here Is How You Can Unlock It 37 views

    💬
    Chat with Us!

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