Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
char to char*
STANAANDREY
May 10th, 2022
(
edited
)
308
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
C++
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
#include <bits/stdc++.h>
using
namespace
std
;
char
*
chToChArr
(
char
c
)
{
char
*
pChar
=
(
char
*
)
malloc
(
sizeof
(
char
)
)
;
pChar
=
&
c
;
return
pChar
;
}
int
main
(
)
{
return
0
;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 21 min ago | 1.61 KB
Untitled
C++ | 34 min ago | 1.18 KB
Untitled
C++ | 47 min ago | 1.10 KB
Untitled
C++ | 1 hour ago | 3.12 KB
PZ-B41-ModsAutomaticInstaller
PowerShell | 2 hours ago | 6.64 KB
JAVA Q
Java | 2 hours ago | 1.08 KB
TEST E22
Lua | 2 hours ago | 1.13 KB
2D StickPool Game C++ D2D VectorGFX (O3 AI...
C++ | 2 hours ago | 213.36 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!