EmbLogic's Blog

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

problem in data structre

when using strlwr and strupr,  error come “undefined reference to strupr” i have used #include<string.h> but of no use what to do now?

Posted in Data Structures with C | 1 Comment

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

Shell Script Assignment 2

Shell Script assignment 2 now completed and uploaded

Posted in Data Structures with C | 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

problem with malloc()

if i write

while(1)

{

i=(int *)malloc(sizeof(int));

}

here each location will be assigned to i after 16 addresses.  But why…???  o_O

Posted in Data Structures with C | 1 Comment

strlwr, strupr header file?

when using strlwr and strupr,  error come “undefined reference to strupr”

i have used #include<string.h> but of no use

what to do now?

Posted in Data Structures with C | 3 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

what does the following code do..??

while((c=getchar())==’\n’);

NOTE that there is a semicolon at the end.

Posted in Data Structures with C | 4 Comments