codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
int main() { //C-style 5b (C-style 2 and 3 and 4 variation) char* a= (char*)malloc(6*sizeof(char)); strncpy(a, "Adeus", 6); //six character to copy also the terminator cout << a << endl; return 0; }
Private
[
?
]
Run code
Submit