C언어 기초적인 문제..
해샘찬
2023.04.01
질문 제목 : 다음 문자열 “helloworld”을 배열에 초기하시키고 다음과 같이 출력되는 print_rotate_message()
프로그램을 작성하시오.
void print_rotate_message(char *);rotate를 사용해서 helloworld 라는 문자가 왼쪽으로 한칸씩..
즉..
helloworld
elloworldh
lloworldhe
...
loworldhel
이런 식으로..
질문 내용 :
다음 문자열 “helloworld”을 배열에 초기하시키고 다음과 같이 출력되는 print_rotate_message()
프로그램을 작성하시오.
void print_rotate_message(char *);
[실행결과]
helloworld
elloworldh
lloworldhe
…
loworldhel
부탁드립니다.