Which header file should be included to use functions like malloc() and calloc()?
Correct Answer: stdlib.h
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 program ? #include int main() { int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m); return 0; }
The maximum combined length of the command-line arguments including the spaces between adjacent arguments is
Which function is used to check if the end of the file has been reached in C?
Left shifting a number by 1 is always equivalent to multiplying it by 2.
Declare the following statement? 'An array of three pointers to chars'
Output of the following code snippet? void main() { int arr[][2] = {1,2,3,4,5,6}; printf('%d',arr[2][1]); }
Which is not a type of operator ?
From which of the following loop or conditional constructs, is 'break' used for an early exit?
Which comparison statements will be true if an integer is 16 bits and a long is 32 bits on a machine?
Output as a result of the following code snippet? main() { signed char i = 1; for (; i<=255; i++) printf ('%d ',i); return 0; }