← All problemsSign in

Program2

PROBLEM 2 #include #include int main() { char *str1="Intechxication"; char *str2="2012"; char *str3; str3=strcat(str1,str2); printf("%s\n",str3); return 0; } Expected Output: Intechxication2012 Rules: - U can add at most 3 lines in given code. - Changing given lines of code is not allowed.

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start