String debugging
CodeChefOpen on judge ↗
Fix the error/errors and recompile and match against the given Input and Output given. Program: int main() { char firstname[20], lastname[20]; int birthyear; scanf("%d", firstname); scanf("%f", lastname); scanf("%d", &birthyear); printf("Your name is %d %f and you are born in the year %d\n", firstname, lastname, bir_year); return 0; } ### Input
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.
Sign in to chat with the tutor and save your progress.
Sign in to start