
Search In
#include<string.h>
int main() {
int number1, number2;
char str[10];
printf("\nEnter a Number:::");
scanf("%d", &number1);
sprintf(str, "%d", number1);//step 1
strrev(str);//step 2
number2 = atoi(str);//step 3
pri
If we have two sorted linked list and we want to merge both in a new list without creating new node space then we can use recursive approach for this . This approach takes O(max(m,n)) time complexity for merging.
Like we have a linked list named : l
There are two way to reverse a linked list that are using recursion or using iteration.
This operation takes O(n) time complexity during iteration method.
Here is the code to reverse linked list using iterator :
public void reverseLinkedList(Node
What Is Test Approach ?
A test approach is the test procedure accomplishment of a product which describes that how can testing would be conducted. Normally there are two mechanisms in test approach, mentioned as below:-
Reactive
Proactive
Reac
Some time we need to convert the html page to pdf dynamically.
Like we are getting some form filled and then we want the data to be converted to a pdf file that is downloadable by the user.
We use fpdf for that in cakephp.
fpdf is basically a clas
There is some functionality which we cannot test on Android Emulator and Genymotion So we use Android actual device.
But we have to attach device always when we need debug app.
There is very clean and useful Android Studio Plugin which helps to deb
Hello Readers,
In this tutorial, i will explain how to add massDelete & massStatus action in magento. This tutorial assumes you already know how to create Magento admin grid.
Advantage of Mass Action: Mass Action option plays very important role
Create a program that allows the user to input a list of first names into one array and last names into a parallel array. Input should be terminated when the user enters a sentinel character. The output should be a list of email addresses&n
In the below example I have created a RecyclerView, In RecyclerView I have added cardView item, so when you click on cardview item it will open next activity.
In below code, first I have added RecyclerView and CardView library , In second step, In a
Barcode is the most important part of point dale module its indicate the unique number of any product in stocks. So you will need the following kind of python code declaration in your .py file:
from openerp.osv import fields, orm
from openerp.tools
