Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

QUIZ

Name: Anonymous 2010-07-24 16:42

int a;
what is the type of "&a" ?

Name: Anonymous 2010-07-24 16:47

char[]

Name: Anonymous 2010-07-24 16:47

String.

Name: Anonymous 2010-07-24 16:49

>>3
C has no string types

Name: Anonymous 2010-07-24 16:58

Int -> Int. It's a partially applied binary and function that takes another int and will return an int.

Name: Anonymous 2010-07-24 17:04

ptr_diff_t

Name: Anonymous 2010-07-24 17:07

int *

Name: Anonymous 2010-07-24 17:10

>>1,7
SPAWHBTI

Name: Anonymous 2010-07-24 17:11

>>8
Inversely?

Name: Anonymous 2010-07-24 17:21

>>9
Incompetently.

Name: Anonymous 2010-07-24 17:21

     1                        
char *a = "anus";
what is the type of *a ?

     2                        
uint32_t *(*a)['a'];
what is the type of a ?

     3                        
(void *)(*a)()
what is the type of a ?

     4                        

int a = 5;
int *b = a;
a = a/*b;

what is the value of a ?

     5                        

struct a {
    char a :4;
} a;

what is the type of a->a ?

Name: Anonymous 2010-07-24 17:46

>>1
int *

>>11
1. char
2. uint32_t *(*)['a']
3. void *(*)()
4. doesn't compile due to unterminated comment.
5. char

Name: Anonymous 2010-07-24 17:55

>>12
5. is not a char

Name: Anonymous 2010-07-24 18:01

>>13
the type of a->a is char.

Name: Anonymous 2010-07-24 18:03

>>11-13
5. is pretending a is a pointer when it isn't

Name: Anonymous 2010-07-24 18:08

&a is ptr_diff_t type(typically int32 or int64).

Name: Anonymous 2010-07-24 18:14

>>11
5. Error.

Name: Anonymous 2010-07-24 18:19

     5.2

struct a {
        char a :4;
} a;


what is the type of a.a ?

Name: Anonymous 2010-07-24 18:47

>>18
int, aye?

Name: Anonymous 2010-07-24 22:24

>>19
C. You get an F for responding, but an A for saging.

Name: Anonymous 2010-07-24 23:44

>>18
int

Name: Anonymous 2010-07-25 13:35

TYPE MY ANUS

Name: Anonymous 2010-07-25 14:15

>>18,19,21
correct answer is char:4

Name: Anonymous 2010-07-25 15:24

>>23
you mean char const[4]

Name: Anonymous 2010-07-25 15:39

>>24
No!

Name: Anonymous 2010-07-25 16:28

>>23
That's not a proper type!

Name: Anonymous 2010-07-25 16:34

>>26
Yes it is! It's a char made up of 4 bits. A nybble, if you will.

Name: Anonymous 2010-07-25 16:50

>>27
byte my nibble

Name: Anonymous 2010-07-26 9:19

NYBBLE MY ANUS

Name: Anonymous 2010-11-13 17:29

Don't change these.
Name: Email:
Entire Thread Thread List