使用VS2019按照c primer plus打的代码后半部分无法运行

我已经按照书上尝试使用别的转换说明但是还是后半部分不能运行不知道是因为什么

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>
#define PRAISE "You are an extraordinary being."
int main()
{
    char name[40];

    printf("What's your name? ");
    scanf("%s", name);
    printf("Hello,%s. %s\n",name,PRAISE);
    printf("Your name of %zd letters occupies %zd memory cells.\n",
            strlen(name),sizeof name);
    printf("The phrase of praise has %u letters", 
            strlen(PRAISE));
    printf("and occupies %zd memory cells.\n", sizeof PRAISE);

    return 0;
}

![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/511946213646116.png "#left")

编译器也没有报错

img