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 …
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 …
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 …
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 + …
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 …