answersLogoWhite

0

Try this:

#include <stdio.h>

int main (void)

{

printf ("printf is at location %p\n", (void *)printf);

printf ("main is at location %p\n", (void *)main);

return 0;

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How to display the content of memory address stored in an element of an array?

void *array[2]; printf ("array[%d]=%p\n", i, array[i]);


What is a purpose of printf and scanf statements?

we write printf() b/c it printf or show us the value contained in a value on the screen after pressing ctrl+f9.


What is a C variable?

A variable is an entity that may change its value. In a program, the result of the processing statements are stored in the computer's memory.


What should be given at in if printf hello else world to get the output helloworld that is to make both the statements in ifelse clause to execute what should be given in if clause?

main() { if( !fork() ) printf("Hello"); else printf("World"); } This works fine. if (!printf("hello")) printf("Hello"); else printf(" World\n");


Where is memory stored in?

Memory is stored in the brain's grey matter.


What purpose do braces serve in C programming?

grouping statements. eg: if (i==2) printf ("i=="); printf ("2"); and if (i==2) { printf ("i=="); printf ("2"); } do different things, if i&lt;&gt;2


What is the difference between the printf and scanf statements in C?

well major difference between scanf and printf is that scanf is an input statment and printf is an output stament scanf is used to take data in from the user and printf is used to display the result on the screen Regards


In which direction does the printf statement works?

from main-memory to standard output.


What is stored in the brain?

Memory is stored in the brain. Some things like an odd answer to a question in maths are stored in short term memory and others like your birthday are stored in long term memory.


How can you protect information stored on memory stick?

protect information stored in memory stick?


How do you protect info stored on a memory stick?

how dcan you protect information stored on memory stick


What are stored in heap memory?

Objects are stored in heap.