i have practiced the concept of pipes using fork..also implemented the inter process communication between two processes using fork n passing the file descriptor through execl..
i have completed my compression n decompression for codelength 4..n done by using separate functions for masterarray,codelength,encryption key , compression n decompression.. nw am starting up with the same for codelength 2.. n then will optimise the whole using switch … Continue reading
#include <stdio.h> int main() { int a[5][5],c[5][5],i,j; int b[2][3]={{1,2,3},{3,4,5}}; for(i=0;i<5;i++) { for(j=0;j<5;j++) { printf(“array B: %d\n”,b[i][j]); printf(“enter array A: “); scanf(“%d”,&a[i][j]); c[i][j]=a[i][j]+b[i][j]; printf(“c[%d}[%d] : %d \n\n “,i,j,c[i][j]); } } return 0; … Continue reading
int i=2147483647; printf(“%d %d %d\n”,i,i+1,i+2); output 2147483647 – 2147483648 -2147483647 is this the case of INTEGER OVERFLOW?? JUSTIFY…
echo 4 +5 wat should i use to make its ans= 9 . plz tell me the complete statement
int main() { int g,l; int l=100; g=l- – + l++; printf(“g = %d”,g); return 0; } predicted output:200 actual output:198 why?? post incrmt r given d higher pref…then ans should be 200.