Answer:
void printBackwards(char s[])
{
int n=strlen(s)-1;//finding the last index of the string..
for(int i=n;i>=0;i--)//loop to print the string backwards..
{
printf("%c",s[i]);//printing the character of the string..
}
}
Output:-
abcdefg
gfedcba
Explanation:
I have used strlen function that will be used after including the string.h header file.It returns the length of the string.After finding the last index I have iterated over the c string in reverse order and printing the character of the string one by one.
First write what is software take one page for that
and each page for all other topics
The reason why computers has the need to periodically check
for the DNS of websites that an individual has already visited because certain
websites can change its IP address and that the individual using it can be
directed to a different website that he or she does not know of.
Answer:
The post condition is simply a statement expressing what work has been accomplished by the function. This work might involve reading or writing data, changing the values of variable parameters, or other actions.