EmbLogic's Blog

Category Archives: Uncategorized

sculls

in sculls do we have to make a linked representation of a queue and then insert elements into that queue by changing the rear pointerie that rear pointer will subsequently point to the location of the node of the linked … Continue reading →

Posted in Uncategorized | Leave a comment

The gendisk interface in Block driver

In 2.6 kernel the gendisk is at the core of the block subsystem; if you need to work with or find something out about a disk, struct gendisk probably has what you need. The best way of looking at the … Continue reading →

Posted in Uncategorized | Leave a comment

what is meaning of “i+1″ in pf statment

#include #define MONTHS 12 int main() { int days[MONTHS]={31,28,[4]=31,30,31,[1]=29}; int i; for(i=0;i<MONTHS;i++) printf("%2d %d\n",i+1,days[i]); return 0; }

Posted in Uncategorized | 1 Comment

what’s going on here????printing x=1 and y=1

#include<stdio.h> int main() { int x=1,y=1,z; if(y<0) if(y>0) x=3; else x=5; printf(“%d\n”,x); printf(“%d\n”,y); return 0;

Posted in Uncategorized | 2 Comments

both are printing same?????

 i=l=f=d=100/3; printf(“%.8g\t”,(double)i); printf(“%.8g\t”,(double)f); printf(“%.8g\t”,(double)d); d=f=l=i=100/3; printf(“%.8g\t”,(double)i); printf(“%.8g\t”,(double)f); printf(“%.8g\t”,(double)d);

Posted in Uncategorized | Leave a comment

output is 2 1 1.how??//

#include<stdio.h> int main() { int x,y,z; x=y=z=1; ++x||++y&&++z; printf(“%d\t%d\t%d\n”,x,y,z); return 0; }

Posted in Uncategorized | 1 Comment

3rd printf() is printing 4 why????

#include<stdio.h> int main() { int x=2,y,z; x*=3+2; printf(“%d\n”,x); x*=y=z=4; printf(“%d\n”,x); x=y==z; printf(“%d\n”,x); return 0; }

Posted in Uncategorized | 3 Comments

E11 Group-A project status

We have implemented multiple client server through message queues.  

Posted in Uncategorized | Leave a comment

E-11 : project update

client server architecture implemented through message queues………almost done……(multiple clients editing remaining)

Posted in Uncategorized | Leave a comment

Assignment status

shell script assignment 1 is completed and uploaded.  

Posted in Uncategorized | Leave a comment

cant understand the output of

float a,b; b=2.0e20+1; a=b-2.0e20;  

Posted in Uncategorized | Leave a comment

Assignment status

pointer assignment is complete.

Posted in Uncategorized | Leave a comment

while( (c=getchar())!= EOF)

sir not able to get this….

Posted in Uncategorized | 2 Comments

update to siddarth sir…

completed and uploaded 1,2 and 3 assignment on nas…

Posted in Uncategorized | Leave a comment

error: called object ‘a’ is not a function?????

#include<stdio.h> int main() { int a,i; printf(“enter a number”); scanf(“%d”,&a); for(i=a;i<=a(a+10);i++); { printf(“%d “, i); } printf(“\n”); }

Posted in Uncategorized | 2 Comments