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.
Instance
-------------------------
Books,well trusted websites , news.reports , schools library (online and off ) hope this helps.:-)
The pronoun is used in the second sentence as To link a subject with the word(s)that describes it.
<h3>What is a pronoun?</h3>
This is known to be a word or phrase that is said to be used to replace a noun or noun phrase.
Note that in the above sentence, the pronoun " their" is used to The pronoun is used in the second sentence as To link a subject with the word(s)that describes it as it tells more about service project.
Learn more about pronoun from
brainly.com/question/395844
#SPJ1
Answer:
Explanation:
A pointer is nothing but a memory location where data is stored. A pointer is used to access the memory location. There are various types of pointers such as a null pointer, wild pointer, void pointer and other types of pointers. ... When you want to deal different variable data type, you can use a typecast void pointer.