Please tell me the major difference between the capital character with single inverted comma and double inverted comma in a C Program.

Recommended Answers

All 4 Replies

Search the web, we're not here for these sort of one-answered homework questions.

Please tell me the major difference between the capital character with single inverted comma and double inverted comma in a C Program.

They are called single quotes and double quotes. ;)
LOL. Inverted comma...

"" stuff between is character string '' between s character which has ascii representions or can be any other system represention like strings always end with NULL to mark the end character is just 1 character

'A' is a char.
"A" is a string.

String is an array of char that ends with NULL.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.