1. 程式人生 > >P68——編寫一個程式,發出一聲警報,然後列印下面的文字

P68——編寫一個程式,發出一聲警報,然後列印下面的文字

要列印的文字內容:
Startled by the sudden sound,sally shouted,
"By the great pumkin,wahat was that!"

程式程式碼如下:
#include <stdio.h>
int main(void)
{

	printf("\aStartled by the sudden sound,sally shouted,\n");
	printf("\"By the great pumkin,wahat was that!\"");

	getchar();
	return 0;
}

在這裡插入圖片描述
此題主要考察轉義序列

的使用