Skip to content

Instantly share code, notes, and snippets.

@EugW
Created November 25, 2020 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EugW/8be6dd72eef2afaacadc0947073ff2bf to your computer and use it in GitHub Desktop.
Save EugW/8be6dd72eef2afaacadc0947073ff2bf to your computer and use it in GitHub Desktop.
Лаб5/6 выполнение
----------------------------------------------
Address of int = 000000419718FAC4
Value of pointer to int = 1
Address of pointer to int = 000000419718FB28
Value of int = 1
Size of int = 4
Size of pointer to int = 8
----------------------------------------------
Address of char = 000000419718FAE4
Value of pointer to char = z
Address of pointer to char = 000000419718FB48
Value of char = z
Size of char = 1
Size of pointer to char = 8
----------------------------------------------
Address of double = 000000419718FB08
Value of pointer to double = 1.100000
Address of pointer to double = 000000419718FB68
Value of double = 1.100000
Size of double = 8
Size of pointer to double = 8
----------------------------------------------
abcdefghijklmnopqrstuvwxyzZYXWVUTSRQPONMLKJIHGFEDCBA
example
stuvwxyzZYXWVUTSRQPONMLKJIHGFE
5 ---(ввод)---
abcde ---(ввод)---
abcde
Strings are equal (my func) vs (std func): 0 vs 0
String 2 is greater than String 1 (my func) vs (std func): -1 vs -1
String 1 is greater than String 2 (my func) vs (std func): 1 vs 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment