Home / MCQ Bank / Computer
Computer File Input Output Difficulty: Medium

Why do we write (int *) before malloc? int *ip = (int *)malloc(sizeof(int));

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C code? #include <stdio.h> int main() { printf("%d ", 1); l1:l2: printf("%d ", 2); printf("%d\n", 3); } What is the purpose of the Attr object in the HTML DOM? What is the purpose of the `StringBuffer` class in Java? Which technique was firstly used to remove duplicate web pages from search results in AltaVista search engine? The file extension for an access 2003 database is