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


Please Help Members By Posting Answers For Below Questions

How to get string length of given string in c?

599


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

3973


What is the difference between break and continue?

600


What is the correct declaration of main?

668


Are the expressions * ptr ++ and ++ * ptr same?

659






which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

1408


What is the scope of static variables in c language?

622


Which of these functions is safer to use : fgets(), gets()? Why?

627


How can I insert or delete a line (or record) in the middle of a file?

566


What are the functions to open and close file in c language?

723


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

637


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

599


What is the difference between array and pointer in c?

569


Do pointers take up memory?

647


difference between native and cross compilers

1665