dude I smell something fishy....

On Sun, Aug 7, 2011 at 8:33 PM, Rajesh Kumar <[email protected]>wrote:

> plz post code in c language also.............
>
>
> On Sun, Aug 7, 2011 at 8:26 PM, Kunal Yadav <[email protected]>wrote:
>
>> #include<stdio.h>
>> #include<string.h>
>> #include<stdlib.h>
>> using namespace std;
>> int main()
>> {
>>    char s[1000];
>> scanf("%s",s);
>>    int start=0;
>>    int end=strlen(s);
>>     printf("%d",end);
>>    int end1=end;
>>    while(start<=end)
>> {
>>         char e;  //swap
>>         e=s[start];
>>         s[start]=s[end];
>>         s[end]=e;
>>        start++;
>>        end--;
>>    }
>>    for(int i=0;i<=end1;i++)
>>   printf("%c",s[i]);
>>    return 0;
>>
>> }
>>
>> Its now pure c...
>> On Sun, Aug 7, 2011 at 8:24 PM, Rajesh Kumar <[email protected]>wrote:
>>
>>>
>>>
>>> --
>>> Regards
>>> Rajesh Kumar
>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected].
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>
>>
>> --
>> Regards
>> Kunal Yadav
>> (http://algoritmus.in/)
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> Regards
> Rajesh Kumar
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Saurabh Singh
B.Tech (Computer Science)
MNNIT ALLAHABAD

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to