User define function contain thier own address or not.
Answer Posted / vignesh1998i
every instruction has it's own address , so only we have got program counters and stack pointers in micro processors, the main use of program counter (computer register) is to point to the next instuction that should be exceuted by the computer from booting till u shut down the system...........
so definetly user define functions and all the functions we have should have a address , that's why , after the operation gets over , it is returning to the main stream..... (using that functional address)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write a program to print factorial of given number using recursion?
What is static memory allocation? Explain
Is c pass by value or reference?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
Explain how can you tell whether a program was compiled using c versus c++?
Why doesnt that code work?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
Do you know the use of 'auto' keyword?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What are dangling pointers? How are dangling pointers different from memory leaks?
Explain the difference between #include "..." And #include <...> In c?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Are there any problems with performing mathematical operations on different variable types?
Explain bit masking in c?
What are the similarities between c and c++?