difference between loading and linking
Answer / madhumatee
Linker is a program that helps to link various pieces of
code or data together to form a single executable file that
can be loaded into memory
Loader is a program that helps in copying the program image
from hard disk to main memory in order to put the program
in a ready to run state.
| Is This Answer Correct ? | 1 Yes | 1 No |
main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 Answers Vector, Vector India,
Why do we use null pointer?
What is the difference between near, far and huge pointers?
Explain the concept of "dangling pointers" in C.
What is identifiers in c with examples?
write a program to print calender using for loop.
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
True or false: If you continuously increment a variable, it will become negative? 1) True 2) False 3) It depends on the variable type
What is an operator?
Explain this code. #include <stdio.h> void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }
how to find out the inorder successor of a node in a tree??
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }