void *cmp();
char *scr;
void *(ptr)*int;
void *(*ptr)()
void *(*ptr)(*)
void (*ptr)()
void (*ptr)()
char **argv;
float *(ptr)*int;
float *(*ptr)(int)
float *(*ptr)(int*)
float (*ptr)(int)
float *(*ptr)(int*)
int *f();
char *ptr[3]();
char (*ptr)*[3];
char (*ptr[3])();
char (*ptr)[3];
char (*ptr)[3];
void (*cmp)();
int *ptr[30];
#include<stdio.h> int main() { extern int i; i = 20; printf("%d\n", sizeof(i)); return 0; }
#include<stdio.h> int main() { enum status { pass, fail, atkt}; enum status stud1, stud2, stud3; stud1 = pass; stud2 = atkt; stud3 = fail; printf("%d, %d, %d\n", stud1, stud2, stud3); return 0; }
stud1 = pass (value is 0)
stud2 = atkt (value is 2)
stud3 = fail (value is 1)
Hence it prints 0, 2, 1
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.