Write a c Program to Print
Write a c Program to Print
*
* *
C Language programs for file
* * *
* * * *
60. Write a c program to print the following pattern-
A
B B
C C C
B B
A
61. WAP to store 5 elements in the 1-D array and print each element and average and sum of the array.
62. WAP to print minimum and maximum elements in the 1-D array.
63. Write a program to count no. of positive numbers, negative numbers and zeros in the array.
64. Write a program to search the given elements.
65. Write a program to sort the given elements.
66. WAP to input two 3x3 matrix and print addition.
67. WAP to input two 4x3 matrix and print subtraction.
68. WAP to input two 2x2 matrix and print multiplication.
69. Write a program to input 3x2 matrix and print the transpose of a matrix.
70. Write a program to find area of rectangle using functions.
71. Write a program to calculate simple interest using functions without arguments, without return type.
72. Write a program to find difference of two numbers using functions without arguments, with return type.
73. Write a program to find sum of two numbers using functions with arguments & without return type.
74. Write a program to find product of two numbers using functions with arguments, with return type.
75. Write a program to swap two numbers using Call By Value.
76. Write a program to swap two numbers using Call By Reference.
77. Write program to find sum, product of two numbers using pointer.
78. Write a program for matrix addition using pointers.
79. Write a program to calculate factorial using recursion functions.
80. Write a program to perform various string manipulations using built-in functions.
81. Write a program to print the given strings in ascending order.
82. Write a program to verify the given string is palindrome or not (without built-in functions, with using built-in functions).
83. Write a program to concatenate two strings using arrays.
84. Write a program to read and display a value using getch() and putch().
85. Write a program to read and display a value using getchar(), putchar().
86. Write a program to read and display a value using gets() and puts().
87. Write a program to read values from keyboard and find the values using abs(), sqrt(), floor(), ceil() and pow().
88. Write a program to create structure for an account holder in a bank with following Fields: name, account number, address,
balance and display the details of five account holders.
89. Write a program to find total marks of individual student and average marks for 10 students using structures.
90. Write a program to create structure called traveler and members of structure are train no, coach no, seat no, source,
destination, gender, age, name and departure date.
91. Write a program to illustrate passing a structure to a function.
92. Write a program to create file using command line arguments.
93. Write a program which copies the contents of one file to another file using command line arguments.
94. Write a program to reverse the first n characters in a file using command line arguments.