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
write a program to print largest number of each row of a 2D array
What is the benefit of using #define to declare a constant?
What are external variables in c?
What is function in c with example?
Explain the difference between the local variable and global variable in c?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
How is = symbol different from == symbol in c programming?
What is time null in c?
What is s or c?
What is mean by data types in c?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Explain the array representation of a binary tree in C.
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
How do I send escape sequences to control a terminal or other device?
Explain how can I pad a string to a known length?