here's the solution
just instead of 'scanf ()' function use the 'gets()' to get the full name with sapces
and use the 'puts()' function instead of printf();
format for gets()
gets(arr name);
ex: gets(name)
puts(arr name);
ex: puts(name);
Leave a comment: