main()
{
struct test
{
char c;
int i;
char m;
} t1;
printf("%d %d\n", sizeof(t1), sizeof(t1.c));
}



main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), ..

Answer / rashmi

12 1

Is This Answer Correct ?    7 Yes 10 No

Post New Answer

More C Interview Questions

What is RAM memory? and What is ROM?Who designed one is temparary and another is permanent?why they designed like that?By using far pointer which type data(whether hexadecimal)we can access?

1 Answers   Excel,


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

0 Answers  


How to print "Hi World" without using semi colon?

6 Answers   Infosys,


How do you view the path?

0 Answers  


Difference Between embedded software and soft ware?

1 Answers   Bosch,






c program to arrange digits in a no in ascending and descending order

1 Answers  


What is the general form of a C program?

0 Answers  


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

0 Answers  


Function shall sum members of given one-dimensional array. However, it should sum only members whose number of ones in the binary representation is higher than defined threshold (e.g. if the threshold is 4, number 255 will be counted and 15 will not) - The array length is arbitrary - output the results to the stdout

0 Answers   XYZ,


How can I access a memory located at certain address?

2 Answers   CSC,


Define the scope of static variables.

0 Answers  


write a program of palindrome(madam=madam) using pointer?

5 Answers   L&T,


Categories