Home / MCQ Bank / Computer Science Engineering
Computer Science Engineering Linux Difficulty: Medium

In this program the two printed memory locations has the difference of . . . . . . . . bytes. #include<stdio.h> #include<stdlib.h> int main() { int *ptr; ptr = (int*)malloc(sizeof(int)*2); printf("%p\n",ptr); printf("%p\n",ptr+1); return 0; }

Select the correct option to test your answer:

More Computer Science Engineering Questions

Which command is used to terminate all processes in your own system except the login shell? Which command does not terminates unless we log out of the system? The main disadvantage of maximum likelihood methods is that they are . . . . . . . . When a client contacts the namenode for accessing a file, the namenode responds with The . . . . . . . . allows us to read data from the same file containing the script.