in malloc and calloc which one is fast and why?
Answer / bobby sigh
malloc is more faster than calloc because malloc required
only const sign integer or datatype
while calloc required type,block
so malloc is more faster than calloc
Is This Answer Correct ? | 13 Yes | 1 No |
What do you understand by normalization of pointers?
Explain how can I make sure that my program is the only one accessing a file?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,
Why do we use null pointer?
How is pointer initialized in c?
what is c
#include<stdio.h> int main() { int i=0,j=1,k=2,m,n=0; m=i++&&j++&&k++||n++; printf("%d,%d,%d,%d,%d",i,j,k,m,n); }
12 Answers Capital IQ, Sasken,
What are the types of arrays in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Should I learn data structures in c or python?