See what questions your friends are asking today.

Write a C program to check whether the string is palindrome or not?

View Slide Show

Close
Answer:
cls
input "enter a string=";s$
l=len(s$)
for i = l to 1 step-1
c$=mid$(s$,i,l)
next i
r$=c$+r$
if r$=c$ then
print "no. is palindrome"
else
print "no. is not palindrome"
endif
end

More on: C Programming

Lazy copying is a hybrid of the standard shallow-copy and deep-copy mechanisms. Objects that are copy constructed or assigned from... more »
Matrix multiplication using pointers 1. Why use it? Hi, so I've been looking for this answer myself and because it was not created... more »

Top Questions

Answer"near" and "far" pointers are actually non-standard qualifiers that you'll find...
Answer A near pointer is a 16 bit pointer to an object contained in the current segment,...
The function returns the total number of items successfully read, EOF when the input...

Contributors

Top Contributors This Week

  • Trust Points: 2720
  • Member Since: 6/07
  • Trust Points: 2925
  • Member Since: 9/07
  • Trust Points: 2945
  • Member Since: 10/10
  • Trust Points: 7738
  • Member Since: 11/08
  • Trust Points: 708
  • Member Since: 1/11