Observe the following program very carefully and write the names of those header files (s), which are essentially needed to compile and execute the following program successfully :
typedef char TEXT[80];
void main()
{
TEXT Str[] = 'Peace is supreme';
int Index=0;
while (Str[Index]!='\0'){
if (isupper(Str[Index])){
Str[Index++]='#';
}
else{
Str[Index++]='*';
}
}
puts(Str);
}
The header files, which are essential to compile and execute the given code are:
- ctype
- Stdio