///Word count from a given string in c /* Alamgir Hossain, CSE-14, JUST */ #include <stdio.h> #include <string.h> int main() { char s[1000]; int c = 0, i; printf("Please enter the string: \n"); scanf("%[^\n]s", s); for (i = 0;s[i] != '\0';i++) { if (s[i] == ' ') c++; } printf("\n\nNumber of words in given string are : %d\n", c + 1); printf("\nThank You!!!!!!\n"); return 0; }
Monday, December 10, 2018
C program that counts the number of words in a given string.
Saturday, December 8, 2018
Thursday, December 6, 2018
How to send email from live server/c panel using php.
From this video you can learn how to send mail from live server/c panel using php mail() function.