diff .between strcture and union

Answer Posted / revathi pawar

structure is the set of different datatype whereas the
struct is the keyword
union is the one where will not print or give correct ouptut
whereas it will give the address of tat particular string or
no given
union s the keyword

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain can the sizeof operator be used to tell the size of an array passed to a function?

822


Can static variables be declared in a header file?

843


What is meant by int main ()?

963


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

965


What is c language and why we use it?

829


Differentiate between #include<...> and #include '...'

835


How can I delete a file?

852


How many types of operator or there in c?

854


Is register a keyword in c?

846


What is a sequential access file?

891


What is the difference between array and linked list in c?

884


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

918


What is a #include preprocessor?

846


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1188


What is the purpose of macro in C language?

876