No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Can somebody give me the reason why the integer i is not getting incremented. Here is the code: main() { int i=10; i=i++; printf("%d",i); } and the output is 10. Here my doubt is that, i know that i is post incremented. Eventhough i is not incremented at the time … | |
Is there any way to get the cuurent time using C in LINUX. I tried with clock_get time(). But i'm getting the same time for a particular amout of function call. The code i've used is given below. Is there any way to get the time in an higher resolution. … | |
1.I'm Using Posix Timers. I Would Like To Kno Whether It Is Possible To Fire Two Timers With Same Signum. The Signal Event Function Is Different. 2. Is there any way to send an argument to the signal event function other than signum. the functions i used for timer are … | |
[CODE]#include<stdio.h> void myalloc(int **b) { *b=malloc(sizeof(int)); **b=10; printf("**b=%d\n",**b); } main() { int *a; myalloc(&a);// is this convention is correct? printf("*a=%d\n",*a); }[/CODE] i have not initialised *a. can i pass the &a(address of a pointer) without initialising it. Please look at my small program and help me out. is it a … |
The End.