Posts by Leonardo Oliveira Santos • 1 point
1 post
-
-1
votes1
answer68
viewsQ: Compiler error in code
I’m new to the C language. #include <stdio.h> #include <stdlib.h> int main() { char card_name[3]; int count = 0; while(card_name[0] != 'X') { puts("Enter the card_name: "); scanf("%2s",…
casked Leonardo Oliveira Santos 1