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
What is a static variable in c?
How do you use a 'Local Block'?
Is javascript based on c?
What are called c variables?
Why we use conio h in c?
Define C in your own Language.
What does %d do in c?
what do you mean by enumeration constant?
Is using exit() the same as using return?
What is a method in c?
How do you sort filenames in a directory?
Find MAXIMUM of three distinct integers using a single C statement
Why c is procedure oriented?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is array in c with example?