How can you relate the function with the structure? Explain
with an appropriate example.
No Answer is Posted For this Question
Be the First to Post Answer
why nlogn is the lower limit of any sort algorithm?
# include<stdio.h> aaa() { printf("hi"); } bbb(){ printf("hello"); } ccc(){ printf("bye"); } main() { int (*ptr[3])(); ptr[0]=aaa; ptr[1]=bbb; ptr[2]=ccc; ptr[2](); }
Question: We would like to design and implement a programming solution to the reader-writer problem using semaphores in C language under UNIX. We assume that we have three readers and two writers processes that would run concurrently. A writer is to update (write) into one memory location (let’s say a variable of type integer named temp initialized to 0). In the other hand, a reader is to read the content of temp and display its content on the screen in a formatted output. One writer can access the shared data exclusively without the presence of other writer or any reader, whereas, a reader may access the shared memory for reading with the presence of other readers (but not writers).
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }
main() { static int var = 5; printf("%d ",var--); if(var) main(); }
print numbers till we want without using loops or condition statements like specifically(for,do while, while swiches, if etc)!
write a program in c to merge two array
Extend the sutherland-hodgman clipping algorithm to clip three-dimensional planes against a regular paralleiepiped
Predict the Output: int main() { int *p=(int *)2000; scanf("%d",2000); printf("%d",*p); return 0; } if input is 20 ,what will be print
How can i find first 5 natural Numbers without using any loop in c language????????
can u give me the c codings for converting a string into the hexa decimal form......
Write a procedure to implement highlight as a blinking operation