c-course/c-basic/quote.c

18 lines
399 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
Tek tırnak karakterinin karakter sabiti ''' biçiminde yazılamaz. '\'' biçiminde belirtilir. Fakat çift tırnak içerisinde tek
tırnak soruna yol açmaz. Örneğin:
**/
#include <stdio.h>
int main()
{
char ch = '\'';
printf("%c\n", ch);
printf("Turkiye'nin baskenti Ankara'dir\n");/* geçerli */
printf("Turkiye\'nin baskenti Ankara\'dir\n"); /* geçerli */
return 0;
}