0 8

BIT102 ยท 0 ยท 5 marks

How is string defined in C program? Write a program to check if a given string is a palindrome or not.

How is string defined in C program? Write a program to check if a given string is a palindrome or not. [5]

C ProgrammingChapter 6: Arrays and StringsString definition and declaration

A string in C is defined as a one-dimensional array of characters terminated by a null character (\0). Unlike some other languages, C does not have a built-in string data type. Syntax: Examples of string declaration and initialization: The null character \0 marks the end of the string and is auto...