1 Attachment(s)
Dev C++ Dependency Dropped
Dear all,
When use Dev C++ for writing C and compile, there is so called dependency dropped.
Do you know why there is the reason and how to solve, use other compiler??
Code:
#include <stdio.h>main()
{
int x;
char cArray[5];
char cName[] = "Olivia";
printf("\nCharacter array not initialized:\n");
for ( x = 0; x < 5; x++ )
printf("Element %d's contents are %d\n", x, cArray[x]);
printf("\nInitialized character array:\n");
for ( x = 0; x < 6; x++ )
printf("%c", cName[x]);
} //end main