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 15:00
Proofread the passage and identify the spelling and punctuation errors. no one knows the exect cause of diabetes. most people who get type 2 diabetes are older, but now younger people are being diagnosed with it. like many young people, you are probably thinking, "why should i be concerned about diabetes? " the truth is that both the center for disease control and the american diabetes association are quite alarmed about the increase in type 2 diabetes among young people. information gathered in the 1990s showed a rapid increase in type 2 diabetes in children. during the 2000s, this trend is continue. scientists who study diabetes are finding that 85 percent of the children who are diagnosed with type 2 diabetes are overweight. but that is just one reason for the increase. children are at risk for type 2 diabetes if they are inactive, have a family history of diabetes, or are from african american, american indian, or asian american families.
Answers: 3
question
English, 21.06.2019 16:40
This excerpt is an example of which kind of characterization? indirect characterization, because it is showing della’s pride in her long hair direct characterization, because it is describing della’s skill for decorating indirect characterization, because it is revealing della’s cultural heritage direct characterization, because it is describing della’s prized possessions
Answers: 2
question
English, 21.06.2019 22:00
Read this excerpt from leah missbach day's foreword to wheels of change.bicycles have long played a role in my life. as a young woman, i rode one year-round before i had a car. but it was later in adulthood that the bicycle became more than a source of transportation for me. the bicycle actually began to truly shape the way i saw the world.what is the author's purpose for including this in the foreword?
Answers: 1
question
English, 21.06.2019 22:00
Kthe pleasure of all living things in baldur's presence means the happiness that the sunlight brings; the sorrow of all living things at his death means the gloom of northern countries when winter comes. reread the two sentences in paragraph 7. what is the best way to improve these sentences. if there are no problems, choose correct as is.' a) correct as is. b) the pleasure of all living things in baldur's presence means the happiness that the sunlight brings; the sorrow of all living things at his death means the gloom that the winter brings. c) the pleasure of all living things in baldur's presence meant the happiness that the sunlight brings, and the sorrow of all living things at his death meant the gloom of a northern winter. d) the pleasure of all living things in baldur's presence means the happiness that the sunlight brings. the sorrow of all living things at his death means the gloom of northern countries when winter comes.
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
English, 13.03.2022 03:40
Questions on the website: 13722359