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
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Explain what is dynamic data structure?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What is call by reference in functions?
Why is c fast?
where are auto variables stored? What are the characteristics of an auto variable?
What are the ways to a null pointer can use in c programming language?
Where in memory are my variables stored?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What does do in c?
How important is structure in life?
What are pointers? Why are they used?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is #include stdlib h?