adplus-dvertising
frame-decoration

Question

What will be output of the following code?
#include<stdio.h>
int main()
{
    printf("%d\t",sizeof(6.5));
    printf("%d\t",sizeof(90000));
    printf("%d",sizeof('A'));
    return 0;
}

a.

8 4 2

b.

8 4 2

c.

8 4 4

d.

8 4 3

Posted under Compiler Design

Answer: (c).8 4 4

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be output of the following code?