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 |
#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4?
what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
64/square(4)
What oops means?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Why is C language being considered a middle level language?
What is #pragma statements?
What are enums in c?
What are the key features of C?
What is key word in c language?
What is the difference between typedef and #define?