Answer Posted / dally
#include<stdio.h>
#include<conio.h>
int main()
{
char array1[] = "STRING FOR TESTNG";
char array2[20],i=0;
int count;
count = strlen(array);
for(count;count>1;count--)
{
array2[i]= array1[count];
i++;
}
printf("%s\n",array2);
}
Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
What is extern storage class in c?
What are the 3 types of structures?
Explain how can you tell whether two strings are the same?
What is a sequential access file?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Explain how do you generate random numbers in c?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What is difference between array and structure in c?
What is the most efficient way to store flag values?
What are reserved words?
What is malloc and calloc?
What are identifiers in c?
What is c system32 taskhostw exe?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What are the different types of objects used in c?