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 to get string length of given string in c?
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
What is the difference between break and continue?
What is the correct declaration of main?
Are the expressions * ptr ++ and ++ * ptr same?
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
What is the scope of static variables in c language?
Which of these functions is safer to use : fgets(), gets()? Why?
How can I insert or delete a line (or record) in the middle of a file?
What are the functions to open and close file in c language?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
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?
What is the difference between array and pointer in c?
Do pointers take up memory?
difference between native and cross compilers