Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- kotlin
- null safety
- test
- Hyperledger
- web3js
- dataginding
- Android
- fabic
- 스트리밍
- 다윈
- bigquery
- hardwareacceleration
- 안드로이드
- LAYER_TYPE_SOFTWARE
- Realm
- C
- Glide
- error
- quick-start
- ethereum
- vuepress
- Exception
- log
- firebase
- coroutines
- Gradle
- convert
- 컴파일
- porterduff
- fabric-sdk-java
Archives
- Today
- Total
날마다 새롭게 또 날마다 새롭게
reverse - 문자열 뒤집는 함수 구현 코드 본문
#include <string.h>
/* reverse : reverse string s in place */
void reverse(char s[])
{
int c,i,j;
for(i=0,j=strlen(s)-1;i<j;i++,j--)
{
c=s[i];
s[i]=s[j];
s[j]=c;
}
}
Comments