Tag: programming languages
Questions Related to programming languages
Which of the following statements are true about synchronization? choose two
void Free( struct node *ptr ) { while( ptr) { ???? } } Which one of the following can replace the ???? for the function above to release the memory allocated to a linked list?
int n = 0; for ( ; ; ) { if (n++ == 5) break; continue; } printf("x=%d\n", x); What will be printed when the sample code above is executed?
struct customer *p= malloc( sizeof( struct customer ) ); Given the sample allocation for the pointer "p" found above, which one of the following statements is used to reallocate ptr to be an array of 10 elements?
Sockets provide an interface for programming networks in which layer?
Socket – based communication is programming language independent.
Using which class,A server can be implemented?