No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Lazy....love coding,,,,
- PC Specs
- C,Kernel Programming,Linux(U....Lucid),OS internals,a bit of android,
6 Posted Topics
Can anyone tell me how exactly does copy_from_user work....i mean other stuff apart from the checks tat are made regarding passing of valid addresses...etc...is there a VM mapping done.... | |
so my question here is when the parent exits before the child process...in linux....the reparenting is done within the same thread group rite!!??? ...and wots the role of the reaper..i mean after you find a suitable parent task..why is this reaper API called.. | |
any other method by which i can pass variable no. of arguments to a function :) | |
how many stacks does the kernel maintain/keep track of...say if there are 12 kernel threads and around 50 user processes?? | |
how to delete a node...u just have a pointer to tat random node ...no head node info... | |
Re: [QUOTE=smilenow;1692483]the answer is 2011 [CODE]#include<stdio.h> void main() { char c[]="gate2011"; char *p=c; printf("%s",p+p[3]+p[1]); getch(); }[/CODE] But really i cannot find out that how did it came.printing p[3]or for any i p[i]alone does not give any thing except garbage value ,on the other hand printing p gives gate2011. can anyone explain?plzzz[/QUOTE] … |
The End.