How we will connect multiple client ? (without using
fork,thread)
Answers were Sorted based on User's Feedback
Answer / amaresh_83
hi
plz send me (avirus_944@yahoo.co.in)
Thanks
Amaresh...
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / jay
Using select() in socket, we can connect multiple clients.
Please go through the uses of select().
Is This Answer Correct ? | 1 Yes | 1 No |
What is "far" and "near" pointers in "c"...?
how to return a multiple value from a function?
Is it possible to print a name without using commas, double quotes,semi-colons?
main( ) { void *vp; char ch = ‘g’, *cp = “goofy”; int j = 20; vp = &ch; printf(“%c”, *(char *)vp); vp = &j; printf(“%d”,*(int *)vp); vp = cp; printf(“%s”,(char *)vp + 3); }
int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); }
#define assert(cond) if(!(cond)) \ (fprintf(stderr, "assertion failed: %s, file %s, line %d \n",#cond,\ __FILE__,__LINE__), abort()) void main() { int i = 10; if(i==0) assert(i < 100); else printf("This statement becomes else for if in assert macro"); }
Cluster head selection in Wireless Sensor Network using C programming language.
#define SQR(x) x * x main() { printf("%d", 225/SQR(15)); } a. 1 b. 225 c. 15 d. none of the above
main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }
plz send me all data structure related programs
4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,j,c,m); }
Write a C program to print look and say sequence? For example if u get the input as 1 then the sequence is 11 21 1211 111221 312211 12112221 .......(it counts the no. of 1s,2s etc which is in successive order) and this sequence is used in run-length encoding.