Explain the difference between structs and unions in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21

4 Answers   TCS,


write c program to display output 10(10+20)+(10+20+30)+ ... n term

0 Answers   Hindustan Gum Chemicals,


Write a program in C to reverse a number by recursive function?

1 Answers  


while initialization of array why we use a[][2] why not a[2][]...?

0 Answers   Aptech,


Write a c program to Find the name that you entered is male name or female name? Such as Sunjay is name of male and Payal is name of female

5 Answers   Infosys, Luminous,






how to swap 4 number without using temporary number?

2 Answers  


write a C program to print the program itself ?!

16 Answers   TCS,


what is the most appropriate way to write a multi-statement macro?

1 Answers  


What is logical error?

0 Answers  


why should i select you?

21 Answers   Wipro,


Which of the following is not a valid declaration for main ()? 1) int main() 2) int main(int argc, char *argv[]) 3) They both work

2 Answers  


write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR

3 Answers   IBM,


Categories