Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

signed

Is char signed or unsigned by default?

by IT Nursery

In the book “Complete Reference of C” it is mentioned that char is by default unsigned. But I am trying to verify this … Read more

Tags c, char, signed, types

Why is 0 < -0x80000000?

by IT Nursery

I have below a simple program: #include <stdio.h> #define INT32_MIN (-0x80000000) int main(void) { long long bal = 0; if(bal < INT32_MIN ) … Read more

Tags c, numeric-conversion, numeric-limits, signed

Signed versus Unsigned Integers

by IT Nursery

Am I correct to say the difference between a signed and unsigned integer is: Unsigned can hold a larger positive value and no … Read more

Tags integer, signed, unsigned

Iteration over std::vector: unsigned vs signed index variable

by IT Nursery

What is the correct way of iterating over a vector in C++? Consider these two code fragments, this one works fine: for (unsigned … Read more

Tags c, signed, stl, unsigned

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery