1.

Observe the following program very carefully and write the name of those header file(s), which are essentially needed to compile and execute the following program successfully:void main(){char text[20], newText[20];gets(text);strcpy(newText,text);for(int i=0;i<strlen(text);i++)if(text[i]==’A’)text[i]=text[i]+2;puts(text);}

Answer»
  • stdio.h
  • string.h


Discussion

No Comment Found

Related InterviewSolutions