+ 2
Pig Latin Problem
Test case 5 is failing. Don't know why . https://code.sololearn.com/c04IesMj1StN/?ref=app
3 Respuestas
+ 10
add buff[j] = '\0'; before printf
you're printing a string without null termination
+ 8
Aditya Raj Just change buff size 100 to 50. I also don't know why it happens but it works 😁😁
+ 7
And that code can work in c++
just add
#include <iostream>
using namespace std;
Idk the difference