Programming MCQS - QUESTION DETAILS

What is the purpose of the 'union' keyword in C?
A. Combine two arrays
B. Combine two structures
C. Combine two functions
D. Combine two variables

'union' is used to combine two or more structures in C.

Similar Questions

How do you close a file in C?






What is the role of the 'strcpy' function in C?






How do you define a multi-line macro in C?






What is the purpose of the 'fgets' function in C?






How do you declare a function pointer in C?






What is the output of printf("%d", ~5);?






What is the output of printf("%c", 65);?






What is the purpose of the 'strcmp' function in C?






How do you declare a dynamic array in C?






How do you create a thread in Java?