Which is better between malloc and calloc?
No Answer is Posted For this Question
Be the First to Post Answer
What is structure in c explain with example?
which is faster execution: loops or recursion?
Write a code to generate a series where the next element is the sum of last k terms.
What is difference between stdio h and conio h?
swap two integer variables without using a third temporary variable?
Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.
#define min((a),(b)) ((a)<(b))?(a):(b) main() { int i=0,a[20],*ptr; ptr=a; while(min(ptr++,&a[9])<&a[8]) i=i+1; printf("i=%d\n",i);}
prototype of sine function.
main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Can we declare variables anywhere in c?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }