void main()
{
for(; 0 ;)
... {
printf("hello");
... }
getch();
}
Answer / shaik. jani bahsa
result is nothing, because 0 means false, 1 means true
once cond false pointr comes out of the loop.
| Is This Answer Correct ? | 10 Yes | 0 No |
Differentiate between calloc and malloc.
How do I use strcmp?
#include<stdio.h> int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?
What is getche() function?
what does the following function print? func(int i) { if(i%2)return 0; eale return 1; } main() { int =3; i=func(i); i=func(i); printf("%d",i);}
we have a 3litres jug and a 5 litres jug and no measures on them. using these two jugs how can we measure 4 litres of water?
What happens if you free a pointer twice?
void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?
prototype of sine function.
How can you determine the maximum value that a numeric variable can hold?
What is c system32 taskhostw exe?
How can I insert or delete a line (or record) in the middle of a file?