Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- ////////////////////////////////////////////////////////////
- int main() //
- {
- int n = 2147483647;
- int *p = &n;
- printf("n2 = %d, size int = %d \n", n, sizeof(n) );
- scanf("%d", &n);
- }
- /*
- #include <stdio.h>
- ////////////////////////////////////////////////////////////
- int main() //
- {
- int n = 2147483647;
- int n1 = 4;
- int n2 = n1 + n;
- printf("n2 = %d, size int = %d \n", n, sizeof(n) );
- scanf("%d", &n);
- }
- */
- /*
- #include <stdio.h>
- #include <locale.h> // здесь "живёт" setlocale(LC_ALL, "rus");
- setlocale(LC_ALL, "rus");
- printf("Верные символы %d", 77);
- */
- /*
- #include <iostream>
- using namespace std;
- int main()
- {
- setlocale(LC_ALL, "rus");
- cout << "Привет - Hello !" << endl;
- return 0;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement