Subscribe to:
Posts (Atom)
Implemet Stack in python
class Stack : def __init__ ( self , data ): self . stack = [] if ( data ): self . stack . append ( da...
-
#include<stdio.h> main() { int n,i; printf("\nenter the number\n"); scanf("%d",&n); i=n-1; if((n...
-
#include<stdio.h> void main() { int array[100],j=0,n,i; printf("enter the no of elemnts in the array\n"); scanf(...
-
#include<stdio.h> main() { int n; scanf("%d",&n); printf("%d",( ((n & 0xaaaaaaaa) >> 1) | ((n ...