main()
{
struct test
{
char c;
int i;
char m;
} t1;
printf("%d %d\n", sizeof(t1), sizeof(t1.c));
}
Answer Posted / rashmi
12 1
| Is This Answer Correct ? | 7 Yes | 10 No |
Post New Answer View All Answers
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
Explain About fork()?
Why is c so powerful?
What is the symbol indicated the c-preprocessor?
What does c mean in basketball?
What are the types of assignment statements?
Is linux written in c?
What is "Duff's Device"?
What is the benefit of using #define to declare a constant?
what are bit fields? What is the use of bit fields in a structure declaration?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What does typeof return in c?
How can a program be made to print the name of a source file where an error occurs?