+ 1

QQ: Help finding brief C code error?

Honestly if anyone has like 2 seconds, I’m very new to C, I tried rewriting a script I found on here from memory and it’s just not running, can’t figure out what it’s missing but I gtg back to work haha anyone looking for a quick brain teaser? Thanks! https://code.sololearn.com/cqxDalBxjWZW/?ref=app

29th Nov 2018, 1:57 AM
Charles Martin
Charles Martin - avatar
1 Antwort
+ 1
The Strings in printf and scanf are wrongly delimited with single quotes. String delimiters in C are double quotes always. single quote can only be used to define a character. 😉
29th Nov 2018, 2:12 AM
ifl
ifl - avatar