2016년 5월 10일 화요일

C언어 프로그램

C언어 프로그램
c언어 프로그램.hwp


본문
/* 실습과제1 */

#include <stdio.h>
#define SIZE 100

int mystrlen(char *str)

int length = 0;

while(str length++ );

return length-1;


int main(void)

int a SIZE ;
int len;

len = mystrlen(a);

gets(a);
printf( 스트링 (%s)의 length는 %d\n , a, len);

return 0;


하고 싶은 말
참고자료로 활용하셔서 좋은 결과 있기를 바랍니다.

키워드
c언어, 언어, 프로그램

댓글 없음:

댓글 쓰기