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
Write a program to print factorial of given number without using recursion?
What is void main ()?
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.
What is a macro?
What is the use of a semicolon (;) at the end of every program statement?
What is the difference between exit() and _exit() function?
Can you please explain the difference between malloc() and calloc() function?
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
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
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.
Write a program to reverse a given number in c language?
How is a null pointer different from a dangling pointer?
How do you define a string?
Describe wild pointers in c?
can any one provide me the notes of data structure for ignou cs-62 paper