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 |
Explain how do you determine whether to use a stream function or a low-level function?
main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
Can main () be called recursively?
Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?
Write a program that his output 1 12 123
Which is better pointer or array?
consider the following program sigment int n,sum=1; switch(n) { case 2:sum=sum+2; case 3:sum*=2; break; default:sum=0;} if n=2, what is the value of sum a.0 b.6 c.3 d.none
why program counter is 16 bit?
what is reason of your company position's in india no. 1.
suppose we use switch statement and we intilize years name using enum statement like(jan,feb,mar,------dec) we take integer value as an input .question is that the month which we analyz is from 0 to 11 bt if i enter 12 than how he again starts from begning and print jan
#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }