Which function is used to de-allocate the memory allocated using malloc()?
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 of the following code snippet? #include main() { int x = 5; if(x=5) { if(x=5) break; printf('Hello'); } printf('Hi'); }
Pick the incorrect fopen statement:
What is used to convert a C program into machine language for execution?
Output of the following program? int main () { int foo = 1; do{ printf('%d ', foo); foo++; }while( foo <= 10 ) return 0; }
What is (void*)0?
The first argument in command line arguments is?
How many times the program will print 'Hello World' ? #include int main() { printf('Hello World'); main(); 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; }
Output of the following code snippet? #include main() { unsigned char a=255; a = a+1; printf('%d',a); return 0; }
Output as a result of the following code snippet? main() { int arr[10]; int a = sizeof(arr); printf('%d\n',a); return 0; }