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 66 views
    • Search for an XML Node using libxml2 in C 35 views
    • Add New Node to XML File Using libxml2 in C 30 views
    • Virtual Functions and Default Arguments in C++: Problems, Solutions, and Best Practices 26 views
    • Understanding the override Keyword in C++ 25 views
    • Compilation Errors, Linking Errors, and Runtime Errors: Understanding the Key Differences 23 views
    • How to Implement Periodic and Single Shot Timers in Linux? 22 views
    • Method Chaining in C++ 21 views
    • C-style Strings vs. std::string in C++: A Comprehensive Comparison 21 views
    • C Program to Get a Digit at Any Position of a Number 20 views

    [chatbot_plugin]

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