Question about Computers & Internet

1 Answer

C++ programming i need a c++ program that checks that the given string is a palindrome using pointer concept

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert who has answered 20 questions.


    An expert that hasĀ over 10 points.


    An expert whose answer gotĀ voted for 2 times.

  • Expert
  • 53 Answers

I hope this helps.
void main()

char s[100];
int i,j,l,flag;
printf("\n enter a string:");
l = strlen(s);
j= l-1;


{ flag=0;
goto sar;

printf("\n string is palindrome");
printf("\n string is not a palindrome");

Posted on Oct 11, 2008

  • Kaleb Hawkins Oct 05, 2012

    That's C bro but its nice work. if you gave him his homework he failed...


1 Suggested Answer

  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%


Complete. Click "Add" to insert your video. Add



Related Questions:

1 Answer

How to write a program to translate english text to binary string and write a program to do inverse 27 = . , 28 = , 29= ? 30 = . 31=

to convert from text to binary, you would do something along the following lines..
1. have the user enter a string.
2. loop through the string (for each char in stringEntered..)
3. convert the character to binary using the methods provided to you by your language of choice

For the reverse (binary to text):
you must take 8 bits of data (which would be a single character), and convert it to text using the methods provided by your language of choice..

here's some links that might be of interest to you.
Visual FoxPro VFP CTOBIN and BINTOC Functions Equivalent In Net The Most Accurate and Reliable Source Code Converters

Feb 06, 2015 | Microsoft Visual Studio 6 6.0 Professional...

1 Answer

How can I use Pointer in C++?

There is a very in depth discussion on how to use pointers located here

Mar 28, 2014 | Borland Turbo C++ Suite 1.0...

2 Answers

What is strings in java?

Handling character strings in Java is supported through two final
classes: Java String and StringBuffer. The String class implements immutable character strings, which are read-only once the string has been created and initialized, whereas the StringBuffer class implements dynamic character strings. All string literals in Java programs, are implemented as instances of String class. Strings in Java are 16-bit Unicode.

Nov 21, 2012 | Sun Java Programming Language (cdj-275)

1 Answer

Create a program that asks for a sentence. Your program will then check if the sentence is a palindrome or not.

Palindrome using

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
class Program
static void Main(string[] args)
string str=string .Empty ;

Console.WriteLine("Enter a String");

string s = Console.ReadLine();

int i = s.Length;
//we can get the Length of string by using Length Property

for (int j=i -1; j >= 0; j--)
str = str + s[j ];
if (str == s)

Console.WriteLine(s + " is palindrome");

Console.WriteLine(s + " is not a palindeome");




Nov 30, 2010 | Computers & Internet

2 Answers

What is the basic difference between c and c

There are many differences between C and C++. Basically we have 5 OOPs concept which is followed by C++ a)Inheritance b)Polymorphism c)Encapsulation d)Abstraction e)Object C is a procedural language which does follow polymorphism and inheritance concept. Major one are as follow 1)C is data oriented and C++ is object oriented language.This implies C is inefficient in handling real world problem as there is no class concept present. 2)C uses top down approach and C++ uses bottom up approach. 3)There is no concept of inheritance in C. 4)C++ have concept of dynamic memory dispatch,which is not supported by C 5)C is function oriented while C++ i,Function are building blocks of C while objects are building block of C++ program 6)C++ have function overloading but C dont have. 7)C++ also have concept of namespace. 8)C++ have reference variables but C dont have it. 9) Standard input,output function aree different in both languages. 10)C++ is free form language means we can declare variable at any place but in C we can declare only at starting of main block.

Jun 18, 2010 | Computers & Internet

1 Answer

18. A palindrome is a string that reads the same

here is a little vbscript sample str=InputBox("Type String To check For palindrome","")
If Left(str,half)=Left(strR,half) Then
    MsgBox ("It's a palindrome string")
    MsgBox ("It's not a palindrome string")
End If

Jun 05, 2010 | Computers & Internet

1 Answer

How to search strings in visual basic 6.0

Dim SearchWithinThis As String = "ABCDEFGHIJKLMNOP" Dim SearchForThis As String = "DEF" Dim FirstCharacter As Integer = SearchWithinThis.IndexOf(SearchForThis)

Mar 11, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

Please Solve this C++ Program

Write a program to prompt the user to input several lines of input. A line of inputs is terminated by '*'. For each readline of input the program should output:(use pointer notation for the array) . The total # of words . The lenght of the longest word in the line At the end the program should output: . The total number of words read in all lines of input . The lenght of the longest word read in all lines of input

Jan 19, 2009 | Computers & Internet

2 Answers

Source code for word count

Haha, i wrote one of thee a while ago for a competition. You need to us e the char at function mate :D
Inside a for loop
Ill havea look for you though :D

Sep 09, 2008 | ArcMedia JavaScript Source Code 3000 Pro...

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

152 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers


Level 3 Expert

98816 Answers

David Payne
David Payne

Level 3 Expert

14071 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides