| | |
Scheduling CPu algorithms
![]() |
0
#2 Oct 20th, 2009
•
•
•
•
please tell me about some my questions.
if (we have a pointer *tmp)-> that my goal is assign that pointer for another pointer ** temp ;
so ,how do we assign for right sytax.
C Syntax (Toggle Plain Text)
int y; int *p; int **pp; p = &y; pp = &p;
•
•
Join Date: Oct 2009
Posts: 4
Reputation:
Solved Threads: 0
•
•
•
•
are u asking something like
C Syntax (Toggle Plain Text)
int y; int *p; int **pp; p = &y; pp = &p;
so if i have a function and a pointer . i want to point that pointer to that function,how must i do?
0
#4 Oct 20th, 2009
•
•
•
•
thanks for your answer.
so if i have a function and a pointer . i want to point that pointer to that function,how must i do?
http://publications.gbdirect.co.uk/c..._pointers.html
a small example:
C Syntax (Toggle Plain Text)
int myfun(int par) { return par+1; } int main() { int (*fptr)(int); //pointer to function fptr = myfun; //assigning the function to the pointer (*fptr)(3); //calling the function using pointer // OR fptr(3); }
![]() |
Similar Threads
- Simulation for CPU Scheduling (C++)
- Please help on links (PHP)
- Web Developer (Web Development Job Offers)
- CPU - Operating system algorithm issue (Computer Science)
- CPU scheduling algorithms (RR, SJF, and Priority). (Java)
- CPU Scheduling Algorithm (Java)
- Cpu scheduling algorithm (C)
- Need help with CPU scheduling algorithms (C++)
Other Threads in the C Forum
- Previous Thread: help with this code...it doesnt stay on screen
- Next Thread: void before main ()
Views: 282 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for C
#include api array arrays binary binarysearch bit c++ calling char character code coke command conversion convert copy database decimal directory directorystructure drawing dude dynamic ebook error exec executable factorial fgets file fork framework free function functions givemetehcode givemetehcodez grade graphics gtkgcurlcompiling haiku help|help|help|help homework i/o input insert int integer intmain() lazy libcurl line linked linkedlist linux list lists loop lowest malloc matrix memory mysql no-effort output parallel path permutations pointer pointers problem process profile program programming read recursion recursive recv reverse scanf segmentationfault socketprograming spoonfeeding stack string strings strtok structures student system testing turbo-c turboc unix user variable windows _getdelim





