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
Can the curly brackets { } be used to enclose a single line of code?
What is equivalent to ++i+++j?
What do you mean by a local block?
What are multibyte characters?
What is a null pointer in c?
Write a program to swap two numbers without using the third variable?
Explain what is the benefit of using an enum rather than a #define constant?
Can you write the algorithm for Queue?
What is the heap?
Can a pointer point to null?
Explain argument and its types.
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is a #include preprocessor?
What are c identifiers?
Place the #include statement must be written in the program?