0 8

C Programming05 marksString definition and declaration

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]

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...

Up nextDifferentiate between switch case and else .. if ladder. Why is break statement used insid