#include <stdio.h> int main() { int a,i; printf(“enter a number\n”); scanf(“%d”, &a); for (i=0;i<=a;i++) { a=a/2; } if (a%2==0) printf(“it is power of 2\n”); else printf(“it is not\n”); return 0; }
#include<stdio.h> int main() { char i; printf(“Enter the value of i”); scanf(“%c”,&i); switch(i) { case ’0′: printf(“Black”); break; case ’1′: printf(“brown”); break; case ’2′: printf(“Red”); break; case ’3′: printf(“Orange”); break; case ’4′: printf(“Yellow”); break; case ’5′: printf(“Green”); break; case ’6′: … Continue reading
RCS file: mdc.c,v Working file: mdc.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: opening a file —————————- revision 1.3 locked by: root; date: 2015/02/14 10:51:24; author: … Continue reading
RCS file: mdcauit2.c,v Working file: mdcauit2.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: this is implementation of Multiple Data Compression And Encryption Using Iterative Technique. It … Continue reading
RCS file: mdcauit2.c,v Working file: mdcauit2.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: this is implementation of Multiple Data Compression And Encryption Using Iterative Technique. It … Continue reading
RCS file: merge.c,v Working file: merge.c head: 1.2 branch: locks: strict prachisinghal: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: merge two arrays using pointer. —————————- revision 1.2 locked by: prachisinghal; date: 2015/02/13 … Continue reading
RCS file: mdc.c,v Working file: mdc.c head: 1.9 branch: locks: strict root: 1.9 access list: symbolic names: keyword substitution: kv total revisions: 9; selected revisions: 9 description: file compressing prg —————————- revision 1.9 locked by: root; date: 2015/02/13 07:28:40; author: … Continue reading
RCS file: mdcauit2.c,v Working file: mdcauit2.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: this is implementation of Multiple Data Compression And Encryption Using Iterative Technique. It … Continue reading
RCS file: header.h,v Working file: header.h head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: in this we have included base header file stdio.h —————————- revision 1.2 locked … Continue reading
RCS file: mdc.c,v Working file: mdc.c head: 1.7 branch: locks: strict root: 1.7 access list: symbolic names: keyword substitution: kv total revisions: 7; selected revisions: 7 description: file compressing prg —————————- revision 1.7 locked by: root; date: 2015/02/12 00:48:40; author: … Continue reading
First of all lets see what a signal is. A signal is a software interrupt sent by the kernel to a foreground process to report an exceptional situation or report a case where the process is trying to access an … Continue reading
if we check for the condition that queue is full than we will give this condition if((front==0&&rear==SIZE-1)||(front==rear+1))//this condition will check the queue and print that queue will be full. and for the empty queue if(front==rear==-1)//this is the condition for checking … Continue reading
RCS file: matrix.c,v Working file: matrix.c head: 1.1 branch: locks: strict vishal: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: Print matrix using double pointer and function. —————————- revision 1.1 locked by: vishal; … Continue reading
RCS file: matrix.c,v Working file: matrix.c head: 1.1 branch: locks: strict vishal: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: Print matrix using double pointer and function. —————————- revision 1.1 locked by: vishal; … Continue reading
RCS file: mdc.c,v Working file: mdc.c head: 1.16 branch: locks: strict vishal: 1.16 access list: symbolic names: keyword substitution: kv total revisions: 16; selected revisions: 16 description: open the present file And read the number of character in the file … Continue reading