Advertisements
Advertisements
Write a program to find transpose of matrix without making use of another matrix.
Concept: undefined >> undefined
Define structure consisting of following elements
1. student roll_no
2. student name
3. student percentage
Write a program to read records of 5 students of and display same.
Concept: undefined >> undefined
Advertisements
State True or False with reason.
while(0); is an infinite loop.
Concept: undefined >> undefined
Enlist all data types in C language along with their memory requirement, format specifiers and range.
Concept: undefined >> undefined
Differentiate between struct and union. When is union preferred over struct? Give on example of each.
Concept: undefined >> undefined
WAP to print the sum of following series.
1+22+33+………+nn
Concept: undefined >> undefined
Write a program to perform matrix multiplication by passing input matrix to the function and printing resultant matrix.
Concept: undefined >> undefined
What are structures? Comment on nested structures. Write a program to read Title, Author and price of 10 books using array of structures. Display the records in ascending order of Price.
Concept: undefined >> undefined
Write a program to display following pattern:
1
232
34543
4567654
567898765
Concept: undefined >> undefined
WAP to print all possible combination of 1,2,3 using nested loops.
Concept: undefined >> undefined
Write a program for finding sum of series 1+2+3+4+…….upto n terms.
Concept: undefined >> undefined
Explain continue and break statements with the help of suitable examples.
Concept: undefined >> undefined
Write a program to generate following patterns.
1. 1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
Concept: undefined >> undefined
Write a program to generate following patterns.
1
2 3
3 4 5
6 7 8 9
Concept: undefined >> undefined
Define union. Compare Structure and Union.
Concept: undefined >> undefined
Explain break and continue statement with example.
Concept: undefined >> undefined
State True or False with reason.
A float constant cannot be used as a case constant in a switch statement.
Concept: undefined >> undefined
State True or False with reason.
In a union, space is allocated to every member individually.
Concept: undefined >> undefined
Explain Nested Structure. Write a program using nested structure to create an Array of structure to store the details of N students.
The details are,
1. Student name
2. Student roll no
3. Marks of Physics, Chemistry, Maths.
Calculate total of P-C-M. Display the data in the format
Name Roll no Total marks
Concept: undefined >> undefined
Differentiate between structure and union.
Concept: undefined >> undefined
