c programming important questions
c programming important questions
Write a C program to take input of name, rollno and marks obtained by a student in 4 subjects of 100
1.
marks each and display the name, rollno with percentage score secured.
2. Write a C program to input two numbers and display the maximum number.
3. Write a C program to find whether a character is consonant or vowel using switch statement.
7. Write a C program to insert 5 elements into an array and print the elements of the array.
10 Write a C program to compare two strings without using string library functions.
Write a C program to add, subtract, multiply and divide two integers using user defined type
13
function with return type
Write a C program to swap two integers using call by value and call by reference methods of passing
14
arguments to a function
Write a C program to create a file called emp.rec and store information about a person, in terms of
19
his name, age and salary.
FACULTY HOD