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 |
Is the following code legal? struct a { int x; struct a b; }
main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }
Is the following code legal? typedef struct a { int x; aType *b; }aType
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
0 Answers Mbarara University of Science and Technology,
#include<stdio.h> main() { struct xx { int x; struct yy { char s; struct xx *p; }; struct yy *q; }; }
main() { { unsigned int bit=256; printf("%d", bit); } { unsigned int bit=512; printf("%d", bit); } } a. 256, 256 b. 512, 512 c. 256, 512 d. Compile error
write a program for area of circumference of shapes
Write a program using one dimensional array to assign values and then display it on the screen. Use the formula a[i]=i*10 to assign value to an element.
1 Answers Samar State University,
main() { char * strA; char * strB = I am OK; memcpy( strA, strB, 6); } a. Runtime error. b. I am OK c. Compile error d. I am O
main() { char *p = “ayqm”; char c; c = ++*p++; printf(“%c”,c); }
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
void main() { int i=10, j=2; int *ip= &i, *jp = &j; int k = *ip/*jp; printf(“%d”,k); }