What is the main difference between STRUCTURE and UNION?

Answer Posted / om prakash mit

All the members of the structure can be accessed at
once,where as in an union only one member can be used at a
time.

Is This Answer Correct ?    193 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

2136


What is data _null_? ,Explain with code when u need to use it in data step programming ?

2814


how to test pierrot divisor

2251


how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns

3117


How to palindrom string in c language?

8809






Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

1768


#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

1063


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

3843


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

3701


Write a program to model an exploding firecracker in the xy plane using a particle system

3683


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

2320


Write a routine to implement the polymarker function

4373


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2253


How can you relate the function with the structure? Explain with an appropriate example.

2912


why nlogn is the lower limit of any sort algorithm?

2369