SK
Repeat the following for the 3 times:
; <memory allocation for the string>
; <create the string "a" (i.e. write the character 'a' to the allocated memory)>
; <write the string into stdout>
; <memory deallocation for the string>
Size: a a a
SK
Repeat the following for the 3 times:
; <memory allocation for the string>
; <create the string "a" (i.e. write the character 'a' to the allocated memory)>
; <write the string into stdout>
; <memory deallocation for the string>
KR
SK
KR
declare void @free(i8*)
declare i8* @write(i8*, i8*, i8*)
declare i8* @malloc(i64)
define i64 @main() {
; <memory allocation for the string>
; <create the string "a" (i.e. write the character 'a' to the allocated memory)>
; <write the string into stdout for the three times>
; <memory deallocation for the string>
; <return 0>
}
KR
KR
VS
ЕХ
ЕХ
VS
VS
EG
t -> (a, t)
SK
VS
declare void @free(i8*)
declare i8* @write(i8*, i8*, i8*)
declare i8* @malloc(i64)
define i64 @main() {
; <memory allocation for the string>
; <create the string "a" (i.e. write the character 'a' to the allocated memory)>
; <write the string into stdout for the three times>
; <memory deallocation for the string>
; <return 0>
}
KR
EG
SK
t -> (a, t)
EG