Question Set

1. Difference between calloc() and malloc()





Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->amal is as older than Bhanu as younger than Chandu. The difference between the ages of Bhanu and Chandu is 10 years. The sum of ages of Amal and Bhanu is 29 years. Find the age of Chandu?....
QA->A temperature difference of 25°C is equivalent to a temperature difference of how many F?....
QA->A temperature difference of 25°C is equivalent to a temperature difference of howmany F?....
QA->What is the difference between IST and GMT?....
QA->How is the difference between visible exports and visible imports defined?....
MCQ->Difference between calloc() and malloc()....
MCQ->Which header file should be included to use functions like malloc() and calloc()?....
MCQ->Point out the correct statement which correctly free the memory pointed to by 's' and 'p' in the following program? #include<stdio.h> #include<stdlib.h> int main() { struct ex { int i; float j; char s }; struct ex p; p = (struct ex )malloc(sizeof(struct ex)); p->s = (char)malloc(20); return 0; }....
MCQ->The difference between a two-digit number and the number obtained by interchanging the digits is 36. What is the difference between the sum and the difference of the digits of the number if the ratio between the digits of the number is 1 : 2 ?....
MCQ->What will be the output of the program in 16-bit platform (under DOS)? #include<stdio.h> int main() { struct node { int data; struct node link; }; struct node p, q; p = (struct node ) malloc(sizeof(struct node)); q = (struct node ) malloc(sizeof(struct node)); printf("%d, %d\n", sizeof(p), sizeof(q)); return 0; }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution