Reading Data from file: fgetc() is a pre-defined function belongs to stdio.h fgetc() function read the input file character by character. On success, it reads the character and returns ASCII value of that character On …
Pointer arithmetic: We use modify operators to increase or decrease the value of a variable by one. Increment operators increase the value by 1.Decrement operators decrease the value by 1 When we modify a pointer …
DA is 30% of Basic Pay HRA is 15% of Basic Pay Deduction is 10% of (Basic Pay + DA) Gross Salary = Basic Pay + DA + HRA Net Salary = Gross Salary + …
Bubble Sort: Bubble sort is a simple sorting technique to sort elements in array. We can sort the elements in either ascending order or descending order. In bubble sort, index element always compare with the …
Linear Search: Linear search is one of searching algorithms to find an element in array. Linear search can apply on random array also. In linear search, every time index element compare with the element to …
Call by Value: Calling the function by passing value as parameter. We collect the value into an argument of function. Arguments are working like local variables. Processed arguments can access only from same function. Call …