write C code to reverse a string such that if i/p is "abc
defg hij klmno pqrs tuv wxyz"
and the o/p should be "cba gfed jih onmlk srqp vut zyxw"

Answer Posted / bipin chandra sai.s

hay just use concatenation of strings method
{
int temp=int a;
int a=int b;
int b=int temp;
}

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I learn data structures in c or python?

573


What is wrong with this program statement? void = 10;

811


Explain how can I make sure that my program is the only one accessing a file?

614


how to create duplicate link list using C???

2065


The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.

1054






What is the meaning of typedef struct in c?

582


Who developed c language and when?

573


What are the two types of functions in c?

560


What is string function in c?

529


What are the salient features of c languages?

618


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2112


What is storage class?

650


What is character constants?

706


Explain Basic concepts of C language?

637


what are the facialities provided by you after the selection of the student.

1650