Which standard function is used to clear memory allocated by the malloc() function?
Correct Answer: free
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C Programming Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C Programming MCQ Questions
Output as a result of the following code snippet? main() { int arr[10]; int a = sizeof(arr); printf('%d\n',a); return 0; }
Output of the following code snippet? #include main() { unsigned char a=255; a = a+1; printf('%d',a); return 0; }
Output of following code? int' main() { int i; i = 0; for (i = 1; i <2; i++) { i++; printf( '%d', i ); continue; printf( "%d", i ); } return 0; }
How many times the program will print 'Hello World' ? #include int main() { printf('Hello World'); main(); return 0; }
The first argument in command line arguments is?
What is (void*)0?
Output of the following program? int main () { int foo = 1; do{ printf('%d ', foo); foo++; }while( foo <= 10 ) return 0; }
What is used to convert a C program into machine language for execution?
Pick the incorrect fopen statement:
Output of the following code snippet? #include main() { int x = 5; if(x=5) { if(x=5) break; printf('Hello'); } printf('Hi'); }