declare afunction pointer to int printf(char *)?
Answer / sunil singh
the function pointer to an int printf(char *) will be:
int (*ptr)(char*);
Now you can assign the function address to the pointer to a
function.
ptr = printf;
Is This Answer Correct ? | 12 Yes | 1 No |
What is the difference between local variable and global variable in c?
Explain what is the difference between null and nul?
Are comments included during the compilation stage and placed in the EXE file as well?
Are there namespaces in c?
how would a 4*3 array A[4][3] stored in Row Major Order?
what are the interview question's in the language c
Main must be written as a.the first function in the program b.Second function in the program c.Last function in the program d.any where in the program
19 Answers CTS, HCL, TCS,
How can I get back to the interactive keyboard if stdin is redirected?
What are the Advantages of using macro
What is ponter?
how to swap 2 numbers within a single statement?
In a switch statement, explain what will happen if a break statement is omitted?