
Search In
This is the Implementation of Stack using Array in C. The concept of Stack is to work on LIFO(Last In First Out). The Element can be Pushed into the Stack of Size 5. The Below code shows How the stack works. The Last Element inserted by the user is s
The below example shows the concept of FIFO. The First Inserted Element is shown at first position and if you want to retrieve the element then first inserted element will be retrieved first.
#include<stdio.h>
#include<conio.h>
#include&
In order to change the theme or highlighted color of EditText do the following steps:-
1) Create colors.xml file inside the values folder (if you don't have) and then declare colors
<color name="ColorPrimary">#4484F6</color>
<color na
C provides following types of loops:
for loop.
while loop.
do-while loop.
nested loop.
For Loop :
Syntax:
for( initialization; condition; increment/decrement) {
// Statement1
//Statement2
}
where, init
We have ?? Operator which is called null- coalescing operator in c#. It takes two operands, one at the left side and one at the right side and checks if the left side operand is null or not. If is is null then it will return the right side operand el
Bubble Sort:- Bubble Sort is the one of most popular Sorting Algorithm that is used to sort the array of n size. The Worst case and Average Case Complexity of Bubble Sort is O(n)^2. The Below Code will show you how to implement the bubble sort to sor
Hi,
In this session I am going to cover, How to use sub total feature in openoffice calc and Excel.
Let's take an example-
I have a data of Employees Name, month of joining and salary. I want to get Grand total and subtotal. Grand total will be th
Hello all,
In C#, we use delegates, which are nothing but the type safe function pointer which means that a delegate points to a function and whenever we invoke the delegate, it will call the function for which it holds the reference.
The signature
The C++ standard libraries furnish a substantial wind up of input/output.
C++ I/O occurs in streams, which are lineups of data. If data flow from a device like a keyboard to main memory is called input operation and if data flow back from main memory
in this program of C language we are not using the any king of loop,we are printing the numbers without loop.
#include
int main(){
int num = 1;
print(num); //it is a function which is calling the value of printnum.
