Professional Documents
Culture Documents
The CDS 4th Unit
The CDS 4th Unit
OR
What is the use of a structure?Give an example for a structure with initialised
values.(april/may-07,set 3;aug/sep-06,set-2;
nov/dec-05,set 3; nov/dec-04,set 2)
OR
What is a structure?How is it declared?How is it initalised?(aug/sep-06,set 3;)
OR
What is the use of struct keyword?Explain the use of dot operator.Give an example
for each.(nov/dec-05,set 1;june-05,set 3)
OR
What is a structure?Describe the governing rules for declaring a
structure.(may/june-04,set 3)
OR
What is a structure within structure?Give an example for it.(nov/dec-04,set 4)
nov/dec-04,set 3)
nov/dec-05,set 2;nov/dec-04,set 3)
Q5.Explain the advantages of structure type over the array type variable.(aug/sep-
07,set 2;april/may-07,set 1)
(may/june-06,set 4;may/june-04,set 1)
(aug/sep-07,set 4)
OR
List out the similarities and differences between structures and unions.(may/june-
04,set 2)
Q15.Write a c program to print maximum marks in each subject along with the
student name by using structures.Take 3 subjects and 3 student records.
( aug/sep-07,set 1; may/june-04,set 4)
OR
Write a C program to illustrate the concept of structure within
structures.( nov/dec-04,set 4)
Q16.Write a C program to calculate student wise total for three students using
array of structures.(april/may-07,set 4;nov/dec-05 set 2;
nov/dec-04,set 3)
june-05,set 4)
Q19.Write a c program to add the given two complex numbers.Defin functions add and
print with pointers as arguments.
The complex number is a structure object with real and imaginary fields.
( aug/sep-07,set 1;aug/sep-06,set 1;
may/june-06,set 3;may/june-06,set 4)