이번에는 작은 따옴표(single quotation mark)가 들어있는 특수한 형태의 출력문에 대한 연습을 해보자.
다음 문장을 출력하시오.
'Hello'
#include <iostream> int main() { std::cout << "\'Hello\'"; }
따옴표 문자 ' 를 출력하기 위해서는 \' 로 입력해야 한다.