What will be the output of the following C code, if it is run on a 32 bit platform? [code]#include<stdio.h> #pragma(1) struct test {

Đăng Khánh

New member
What will be the output of the following C code, if it is run on a 32 bit platform?
Code:
#include<stdio.h>
#pragma(1)
struct test
{
    int i;
    char j;
};
main()
{
    printf("%d",sizeof(struct test));
}
A. Error
B. 1
C. 4
D. 8
 

Tìm kiếm

Back
Top