Created
April 9, 2023 02:07
-
-
Save lawrence910426/9b79b50a91a891b227d29a94613c0731 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const int maxi = CHAR_MAX; | |
/* int is a int */ | |
/* multiple lines | |
of comments */ | |
const int maxi = CHAR_MAX; | |
#pragma token off | |
int main() { | |
int a = 1; | |
int b = -1; | |
int c = 01; | |
#pragma token on | |
int d = -0; | |
int _; | |
float z = 0.; | |
float zz = +.0; | |
#pragma source off | |
float zzz = .0; | |
float zzz = -.0; | |
float zzzz = 000.000; | |
string s = "qwer"; | |
string ss = "qwer\""; | |
#pragma source on | |
string sss = "string\""; | |
string ssss = "string\q"; | |
char cc = '\t'; | |
char ccc = ' '; | |
char cccc = '\''; | |
// // // // qwer | |
a = a + b; | |
// /* | |
return a + b; | |
} | |
/* // qwer // */ | |
// /* qwer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment