void main() { char sent[ ] = "She sells seashells on the seashore"; int i; for(i = 0; sent[i] != 0; i++) { if(sent[i] == 97 || sent[i] == 101 || sent[i] == 105 || sent[i] == 111 || sent[i] == 117) { for(;sent[i + 1] != 0; i++) sent[i]=sent[i + 1]; sent[i] = '\0'; i =- 1; } } printf("\n %s", sent); } ALSO CHECK THESE C PROGRAMS: 86. C Program To Accept A String & Display It. 87. C Program To Find The Length Of A String. 88. C Program To Concatenate Two Strings. 89. C Program To Compare Two Strings. 90. C Program To Swap Two Strings. 91. C Program To Swap Two Strings Using strcpy() Function. 92. C Program To Sort A Given Number Of Strings Using strcmp() Function. 93. C Program To Check Whether A String Is Palindrome Or Not. 94. C Program
All HR and Technical interview questions with answers for freshers and experienced professional. It helps job seekers who are about to attend interviews.