What is the memory allocated by the following definition ?
int (*x)();

Answer Posted / ningappa

The above code is function pointer declaration.So there is
no memory allocated as it is just declaration and no value
is being assigned to it........

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to print factorial of given number without using recursion?

760


What is void main ()?

788


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2386


What is a macro?

844


What is the use of a semicolon (;) at the end of every program statement?

1098






What is the difference between exit() and _exit() function?

764


Can you please explain the difference between malloc() and calloc() function?

826


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

837


write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1

3624


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2039


Write a program to reverse a given number in c language?

828


How is a null pointer different from a dangling pointer?

759


How do you define a string?

834


Describe wild pointers in c?

825


can any one provide me the notes of data structure for ignou cs-62 paper

1881