[ create a new paste ] login | about

Link: http://codepad.org/c0JFLFwi    [ raw code | output | fork ]

C, pasted on Mar 26:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include<stdio.h>

int lowercase(char check_character);

int main(void) {

char check = "a";

    if (lowercase(char check)){
    printf("it is lowercase")
    }

                int lowercase(char check_character){
                 If(check_character & 0x20){
                return 1;
                            }
    return 0;
    }
return 0;
}


Output:
1
2
3
4
5
6
In function 'main':
Line 7: warning: initialization makes integer from pointer without a cast
Line 9: error: expected expression before 'char'
Line 11: error: expected ';' before '}' token
In function 'lowercase':
Line 14: error: expected ';' before '{' token


Create a new paste based on this one


Comments: