Skip to content

QnA Plus

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

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

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 … 27 28 29 30 31 … 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 119 views
    • C Program to Sleep in Milliseconds 95 views
    • How to install Ping or Ping6 using YUM 91 views
    • How to Implement Periodic and Single Shot Timers in Linux? 88 views
    • Change a Variable from inside a C Function 59 views
    • C Program to Check Whether Two String are Equal 51 views
    • C Program to Find the Longest Word in a String 48 views
    • How to Store SVN Password in Encrypted Form in Linux 45 views
    • How to Re-Indent C Code Using Notepad++ 45 views
    • How to do Asynchronous Operations using boost::asio? 40 views

    💬
    Chat with Us!

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