I was asked to write a program in c which when executed
displays how many no.of clients are connected to the server.
No Answer is Posted For this Question
Be the First to Post Answer
How to delete a node from linked list w/o using collectons?
What is "Duff's Device"?
What is macro?
Can a variable be both static and volatile in c?
Why do we use c for the speed of light?
Write a program to check prime number in c programming?
a linear linked list such that the link field of its last node points to the first node instead of containing NULL a) linked list b) circular linked list c) sequential linked list d) none
main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }
what is the use of ‘auto’ keyword?
What is diffrance between declaration and defination of a variable or function
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }