Answer Posted / anand
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
clrscr();
char a[]="i am anand";
int x,len,y,z;
len=strlen(a);
z=len-1;
for(x=len-1;x>=0;x--)
{
if(a[x]==' '||x==0)
{
for(y=x;y<=z;y++)
{
printf("%c",a[y]);
}
z=x;
}
}
getch();
}
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Does * p ++ increment p or what it points to?
How can you draw circles in C?
What do mean by network ?
How can I read in an object file and jump to locations in it?
What is ambagious result in C? explain with an example.
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
How do you search data in a data file using random access method?
What is the function of volatile in c language?
What is wrong with this initialization?
Why do we use & in c?
Is c call by value?
How do you convert strings to numbers in C?
Describe the header file and its usage in c programming?
Apart from dennis ritchie who the other person who contributed in design of c language.
What is the heap in c?