* Program will count number of spaces and constant characters.
//Written by : Latest Technology Guide
//Title : C Language Example # 40 Counter Space and Constant from Character Array..
printf("\n Now Enter Text : ");
printf("\n\t\t *****: Detail Description :***** ");
printf("\n Constant = %3d",co);
printf("\n Spaces = %3d",sp);
* You need to enter character array.
Note: All programs are developed and tested using Turbo C++ 3.0 under Windows XP. We just want to provide guidelines to the users. If you are using any other Compiler or other operating system they you need to modify this program as per your requirements.