Search
 
SCRIPT & CODE EXAMPLE
 

C

string if statements c

#include <stdio.h>

int main(){
  char str[3];
  scanf("%s", &str);
  switch(str){
    case 'a':
      printf("a");
    case 'bee':
      printf("bzzz");
  }
}
Comment

PREVIOUS NEXT
Code Example
C :: sdl2 c programming 
C :: how to sleep in c 
C :: c output 
C :: how to print the first character of a string in c 
C :: find length of int number in c 
C :: round function in c 
C :: redirect to url page asp.net mvc 
C :: connect servo to arduino 
C :: arduino uno spi pins 
C :: how make a character in c scanf 
C :: Syntax To Take Input In C 
C :: merge sort for strings in c 
C :: c to llvm 
C :: c get current month, year, day 
C :: c recursion func revers number 
C :: compare c strings 
C :: functions in c 
C :: c program to find the frequency of characters in a string 
C :: malloc basics 
C :: how to get the lowest number on a array in c 
C :: print float in c 
C :: How to copy one string into another in C 
C :: cifras de un numero en c 
C :: access 2d array with pointer c 
C :: insert image material ui 
C :: C# special character display 
C :: boolean operators in c 
C :: Symmetrical matrix in C 
C :: how to check file pointers in c 
C :: c fibonacci series recursion 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =