Adv C
Adv C
2. C program to capitalize the first and last letter of every word in a string.
Input:- beautiful world
Output:- After Converting string is: BeautifuL WorlD
3. Write a C program to find character is vowel or consonant using pointer.
4. Create a structure program to read (empno, dept and basic pay) and store
the data of 3 employees and calculate their Gross Salary (da=10% and
HRA=30% from BP) using nested structures.
5. Write a C program to find Consonants in a given string using for loop.
6. Display stack element using array.
25. Construct a C program to store any 3 subject details such as code, marks&
staff then display the list of staffs whose marks belongs to greater than or
equal to 95 using structure.
26. Write a C program to read a file name from user and create that file using
fopen()(Ex. Hospital.java)
27. Write a C program to print the elements of an array in reverse order using
pointer
28. Write a C program to swap any three variables using function pointers
(without temporary variables)
29. Create a program to split a string by space into words using do-while loop
30. Write a dynamic memory allocation program in C to get and display
member of union using malloc() and free(). Note: Define a Union named
“Student_Profile” and its member is “id”