What will be the output of the following C code? [code] #include <stdio.h> struct student { char *c; }; void

Danh Trịnh

New member
What will be the output of the following C code?
Code:
    #include <stdio.h>
    struct student
    {
        char *c;
    };
    void main()
    {
        struct student s[2];
        printf("%d", sizeof(s));
    }
A. 2
B. 4
C. 16
D. 8
 

Tìm kiếm

Back
Top