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

what are the advantages of a macro over a function?

880


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1064


What is the difference between the = symbol and == symbol?

823


Explain logical errors? Compare with syntax errors.

825


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2129


What is difference between structure and union in c programming?

786


Write a program of advanced Fibonacci series.

902


find out largest elemant of diagonalmatrix

1882


What are the scope of static variables?

831


in linking some of os executables are linking name some of them

1899


How many types of sorting are there in c?

823


Differentiate between a structure and a union.

1018


write a program to concatenation the string using switch case?

1805


What is logical error?

855


Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.

879