What is Dynamic memory allocation in C? Name the dynamic allocation functions.
To allocate memory dynamically, library functions are malloc() , calloc() , realloc() and free() are used. ... These functions are defined in the <stdlib. h> header file.
| Is This Answer Correct ? | 0 Yes | 0 No |
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
What are file streams?
write a program that will print %d in the output screen??
how to convert an char array to decimal array
What is static memory allocation? Explain
Explain why C language is procedural?
can please someone teach me how to create this program using while statement.. this is the output should look like 0 2 4 6 8 10 -thanks.. :) need it asap...
Explain what’s a signal? Explain what do I use signals for?
Why do we use null pointer?
15.what is the disadvantage of using macros? 16.what is the self-referential structure? 17.can a union be self-referenced? 18.What is a pointer? 19.What is the Lvalue and Rvalue? 20.what is the difference between these initializations? 21.Char a[]=”string”; 22.Char *p=”literal”; 23.Does *p++ increment p, or what it points to?
how to determine the complexity of an algorithm as log(n)
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.