简体   繁体   中英

C program is not running in Visual Studio Code

enter image description here

I am writing code in visual studio and facing error while compiling.

incorrect quotation mark should be "

#include <stdio.h>

int main() 
{ 
    printf("Hello , i am learning c ");

    return 0;
} 

There are multiple different characters that look like the double quote character "

The double quote character is what is needed at the start and end of literal strings such as your string Hello, I am learning C

You have used the similar looking but different characters and

This is usually due to copy and pasting the double quote characters from a website or a rich text formatted document (eg Word) rather than typing them from a keyboard. Try deleting them and replacing them with a keyboard press or copying and pasting from here: "

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM