Answer Posted / ruchi
#include<stdio.h>
#include<conio.h>
int main()
{
char a[40],b[40];
int i=0,c,j;
printf("\nEnter the first string ");
while((a[i++]=getchar())!='\n');
for(c=0;c<i;c++)
{
b[c] = a[c];
}
for(j=0;j<i;j++)
{
printf("%c",b[j]);
}
getch();
}
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What should malloc() do?
What's the right way to use errno?
What does c mean in standard form?
What are header files in c?
what are the facialities provided by you after the selection of the student.
What is pointers in c?
What is a program?
When should we use pointers in a c program?
What is scanf () in c?
Explain what is a 'locale'?
What does the error message "DGROUP exceeds 64K" mean?
Which is better pointer or array?
Why is c called "mother" language?
Explain what is the most efficient way to store flag values?