Search found 1 match

by Zarif_iit
Thu Dec 13, 2012 1:46 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 44402

Re: 10018 - Reverse and Add

I get Runtime Error for this code. Everything seems to work fine when I run it from Code Blocks. :-?
Help me out please.

#include<stdio.h>
#include<string.h>
#include <stdlib.h>

char a[10],b[10];

int palindrome()
{
int i,j;
int l=strlen(a);

if(l%2==0)
for(i=0, j=l-1;i<=l/2;i++, j--)
{
if ...

Go to advanced search