String If Statements C

[Solved] String If Statements C | Basic - Code Explorer | yomemimo.com
Question : string if statements c

Answered by : noam-nahum

#include <stdio.h>
int main(){ char str[3]; scanf("%s", &str); switch(str){ case 'a': printf("a"); case 'bee': printf("bzzz"); }
}

Source : | Last Update : Wed, 25 May 22

Answers related to string if statements c

Code Explorer Popular Question For Basic