✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
A string in C is nothing but a one-dimensional character array whose last character is a \0 or null character. The %s conversion specifier is used with scanf() and printf() for getting string input and displaying output. For getting a line of text, the %[^\n] conversion specifier is used with scanf().
char arr[100];scanf("%s", arr); /*compiler automatically appends \0*/printf("%s", arr);Write a program using pointers to check if a given string is a palindrome or not.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!