What is the memory allocated by the following definition ?
int (*x)();
Answer Posted / dddhacker
Wrong!
Its a function pointer, therefore on a 32 bit platform for
example, 4 bytes are allocated for it.
| Is This Answer Correct ? | 13 Yes | 2 No |
Post New Answer View All Answers
How does pointer work in c?
develop algorithms to add polynomials (i) in one variable
Is it possible to have a function as a parameter in another function?
What is the code in while loop that returns the output of given code?
What is data types?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
write an algorithm to display a square matrix.
What is c standard library?
How can I discover how many arguments a function was actually called with?
What is default value of global variable in c?
What is the use of parallelize in spark?
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
How can variables be characterized?
What is pointer to pointer in c?