Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
string length
osmangoni
Dec 7th, 2019
110
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<stdio.h>
int
main
(
)
{
char
st
[
20
]
;
gets
(
st
)
;
int
i
,
length
=
0
;
for
(
i
=
0
;
st
[
i
]
!=
'
\0
'
;
i
++
)
{
length
++;
}
printf
(
"Length= %d
\n
"
,
length
)
;
return
0
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 44.19 KB
Untitled
1 hour ago | 1.07 KB
Untitled
1 hour ago | 0.34 KB
Untitled
1 hour ago | 0.35 KB
Untitled
1 hour ago | 0.47 KB
Untitled
1 hour ago | 0.47 KB
Untitled
1 hour ago | 0.33 KB
livehindustan.com_AMP_Splash_test_on_tap
2 hours ago | 1.32 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!