write a program in reverse the string without using
pointer,array,global variable declaration,lib fun only using
a function?
Answer Posted / reshma pawar
#include<stdio.h>
void main()
{
int i;
char a[]={"Hello"};
printf("Reverse String is: ");
for(i=4;i>=0;i--)
printf("%c",a[i]);
}
| Is This Answer Correct ? | 14 Yes | 15 No |
Post New Answer View All Answers
Why array is used in c?
How will you delete a node in DLL?
Distinguish between actual and formal arguments.
What is the advantage of using #define to declare a constant?
Using which language Test cases are added in .ptu file of RTRT unit testing???
What language is lisp written in?
what is the syallabus of computer science students in group- 1?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
What does d mean?
What does the error 'Null Pointer Assignment' mean and what causes this error?
Write a program to check armstrong number in c?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Where we use clrscr in c?
Explain the difference between malloc() and calloc() function?