#include #include int main(){ char cstr1[10]; char cstr2[10] = "String 2"; strcpy(cstr1,"hi sir"); if(!strcmp(cstr1,cstr2)){ printf("YES"); } strcat(cstr1,"x"); printf("%s %c",cstr1,cstr1[3]); strcat(cstr2, "Have a nice dayi fdfdf fdfd fd");//Not Guaranteed to work //BOOM!No Space to store SEG-FAULT printf("\ncstr2=%s",cstr2); printf("\nWork is done sucessfully\n"); return 0; }