Advertisements
Advertisements
Define pointer and its use. Explain array of pointer with example. Write program to swap the values by using call by reference concept.
Concept: undefined >> undefined
Write a program to create two integer of size 8 and 7. Initialize the arrays with random values. Sort the arrays in ascending order with the help of user defined function namely “sort array”. Merge these arrays with the help of another user defined function named “merge arrays” which returns a new array. Program should display the arrays before and after sorting, also the merged arrays.
Concept: undefined >> undefined
Advertisements
Explain gets() and puts() functions of C language. Comment on their parameters and return values.
Concept: undefined >> undefined
Write a C program to
i. Create a 2D array [Matrix] [in main function]
ii. Write a function to read 2D array[Matrix]
iii. Write a function that will return true(1) if entered matrix is symmetric or false(0) is not symmetric.
iv. Print whether entered matrix is symmetric or not [in main function]
Concept: undefined >> undefined
Write a program to sort given array in ascending order.
Concept: undefined >> undefined
Draw the flow chart to find roots of a quadratic equation.
Concept: undefined >> undefined
Comment on dynamic memory allocation. Write a program to read and store N integers in a Array, where value of N is defined by user. Find minimum and maximum members from the Array.
Concept: undefined >> undefined
Explain switch case and if-else ladder with example.
Concept: undefined >> undefined
Select the correct option from multiple choice question.
Which of the following is not a keyword of ‘C’?
Concept: undefined >> undefined
State True or False with reason.
scanf() function is used to input string having multiple words.
Concept: undefined >> undefined
State True or False with reason.
There is no difference between ‘\0’ and ‘0’.
Concept: undefined >> undefined
Write a program to calculate number of vowels (a, e, i, o, u) separately in the entered string.
Concept: undefined >> undefined
Write user defined function to implement string concatenation.
Concept: undefined >> undefined
Explain need of file data and various modes of files also write program to create edit copy of file.
Concept: undefined >> undefined
Implement string copy function STRCOPY (str1,str2) that copies a string str1 (source) to another string str2 (destination) without using library function.
Concept: undefined >> undefined
Explain file handling in c in details.[Note: Mention file type, file
modes, file related functions and its use)
Concept: undefined >> undefined
Why files are needed? Explain all the opening modes. Write a program to create copy of the user specify names of source and destination files.
Concept: undefined >> undefined
Explain any 4 functions from string.h header file with suitable examples.
Concept: undefined >> undefined
Write the output of following code:
#include<stdio.h>
int main()
{
int val = 1;
do{
val++;
++val;
}while(val++>25);
printf(“%d\n”,val);
return 0;
}
Concept: undefined >> undefined
Write a program to validate whether accepted string is palindrome or not.
Concept: undefined >> undefined
