Jan 4, 2020 in C Plus Plus
Q: Binary literals C++ 14 Feature

1 Answer

0 votes
Jan 4, 2020
Numeric literals in C++14 can be specified in binary form. The syntax uses the prefixes 0b or 0B. The syntax is also used in other languages e.g. Java, C#, Swift, Go, Scala, Ruby, Python, OCaml, and as an unofficial extension in some C compilers since at least 2007

Related questions

+1 vote
+1 vote
Jan 4, 2020 in C Plus Plus
+1 vote
Jan 4, 2020 in C Plus Plus
...