You can also make SIZE char like this:
char c = SIZE; Or a double like this:
double d = SIZE;
Or you can use defines to construct strings, as in this simple example.
#define SIZE 65
main()
{
char p[] = {SIZE,'p','p','l','e','\0'};
printf("%s\n", p);
}
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,945 posts
since Aug 2005