subject
English, 28.06.2021 18:10 Cecely2783

#include #include int main(){ char string_given[100], reverse_string[100] = {'\0'}; int a, set_flag = 1, string_len = 0; printf("\n Enter a string : "); gets(string_given); for (a = 0; string_given[a] != '\0'; a++) { string_len++; } printf("\n The length of the given string '%s' is %d\n", string_given, string_len); for (a = string_len-1; a >= 0 ; a--) { reverse_string[string_len-a-1] = string_given[a]; } for (a = 0; a < string_len ; a++) { if (reverse_string[a] != string_given[a]) set_flag = 0; } if (set_flag == 1) printf ("\n\n The given string '%s' is palindrome", string_given); else printf("\n\n The given string '%s' is not palindrome", string_given); getch(); return(0); } output of this code?
​

ansver
Answers: 2

Another question on English

question
English, 21.06.2019 14:40
Ryans attempt to get organized was wholehearted sidetracked committed insincere typical
Answers: 3
question
English, 21.06.2019 20:00
25 ! which three lines in this excerpt from phillis wheatley's poem "goliath of gath" contain examples of figurative language? the hosts on two opposing mountains stood, thick as the foliage of the waving wood; between them an extensive valley lay, o'er which the gleaming armour pour'd the day, when from the camp of the philistine foes, dreadful to view, a mighty warrior rose; in the dire deeds of bleeding battle skill'd,
Answers: 2
question
English, 21.06.2019 23:30
The bus driver who, only works weekdays, always waits for me when i'm running latecorrect the comma sandwich
Answers: 1
question
English, 22.06.2019 00:30
In at least 150 words, identify and describe the setting, and the way the author uses imagery to describe it for part 1 of nectar in a sieve.
Answers: 1
You know the right answer?
#include #include int main(){ char string_given[100], reverse_string[100] = {'\0'}; int a, set_flag...
Questions
question
History, 22.05.2020 03:11
question
Mathematics, 22.05.2020 03:11
question
Mathematics, 22.05.2020 03:11
Questions on the website: 13722363