#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;
}
#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;
}
#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;
}
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?
We have implemented multiple client server through message queues.
client server architecture implemented through message queues………almost done……(multiple clients editing remaining)
shell script assignment 1 is completed and uploaded.
float a,b;
b=2.0e20+1;
a=b-2.0e20;
Shell Script assignment 2 now completed and uploaded
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
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?
completed and uploaded 1,2 and 3 assignment on nas…
#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”);
}
while((c=getchar())==’\n’);
NOTE that there is a semicolon at the end.