Skip to content

Commit

Permalink
Merge pull request #441 from royalpinto007/master
Browse files Browse the repository at this point in the history
Added few more integer literals
  • Loading branch information
onecompiler-ops authored Oct 18, 2022
2 parents b48c36d + a581371 commit 8f318b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ string string1.append(string2); // It is used to concatenate two strings(string1
|Integer Literal- decimal|255|
|Integer Literal- octal|0377|
|Integer Literal- hexadecimal|0xFF|
|Integer Literal- int|30|
|Integer Literal- unsigned int|30u|
|Integer Literal- long|30l|
|Integer Literal- unsigned long|30ul|
|Float point Literal|53.0f, 79.02|
|Character literals| 'a', '1'|
|String literals| "OneCompiler", "Foo"|
Expand Down

0 comments on commit 8f318b5

Please sign in to comment.