"Write a C program to check whether the string is a palindrome without using string functions." Code Answer's
You're definitely familiar with the best coding language Whatever that developers use to develop their projects and they get all their queries like "Write a C program to check whether the string is a palindrome without using string functions." answered properly. Developers are finding an appropriate answer about Write a C program to check whether the string is a palindrome without using string functions. related to the Whatever coding language. By visiting this online portal developers get answers concerning Whatever codes question like Write a C program to check whether the string is a palindrome without using string functions.. Enter your desired code related query in the search bar and get every piece of information about Whatever code related question on Write a C program to check whether the string is a palindrome without using string functions..
Write a C program to check whether the string is a palindrome without using string functions.
#include <stdio.h>#include <string.h> int main(){ char text[100]; int begin, middle, end, length = 0; gets(text); while ( text[length] != '\0' ) length++; end = length - 1; middle = length/2; for( begin = 0 ; begin < middle ; begin++ ) { if ( text[begin] != text[end] ) { printf("Not a palindrome.\n"); break; } end--; } if( begin == middle ) printf("Palindrome.\n"); return 0;}
Source: forgetcode.com
All those coders who are working on the Whatever based application and are stuck on Write a C program to check whether the string is a palindrome without using string functions. can get a collection of related answers to their query. Programmers need to enter their query on Write a C program to check whether the string is a palindrome without using string functions. related to Whatever code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about Write a C program to check whether the string is a palindrome without using string functions. for the programmers working on Whatever code while coding their module. Coders are also allowed to rectify already present answers of Write a C program to check whether the string is a palindrome without using string functions. while working on the Whatever language code. Developers can add up suggestions if they deem fit any other answer relating to "Write a C program to check whether the string is a palindrome without using string functions.". Visit this developer's friendly online web community, CodeProZone, and get your queries like Write a C program to check whether the string is a palindrome without using string functions. resolved professionally and stay updated to the latest Whatever updates.