How to reverse a String without using C functions ?
Answer Posted / neelu
#include<stdio.h>
#include<string.h>
main()
{
char a[10],b[10];
int i,l;
printf("enter the string to be reversed");
scanf("%s",a);
l=strlen(a);
for(i=0;i<l;i++)
b[i]=a[l-1-i];
b[i]='\0';
printf("%s",b);
}
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Develop a routine to reflect an object about an arbitrarily selected plane
Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??
why nlogn is the lower limit of any sort algorithm?
write a program for area of circumference of shapes
What is data _null_? ,Explain with code when u need to use it in data step programming ?
Cluster head selection in Wireless Sensor Network using C programming language.
Sir... please give some important coding questions asked by product companies..
Design an implement of the inputs functions for event mode
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
What is full form of PEPSI
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
How can you relate the function with the structure? Explain with an appropriate example.
could you please send the program code for multiplying sparse matrix in c????