which of the following go out of the loopo if expn 2
becoming false
a.while(expn 1){...if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;...}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}
Answers were Sorted based on User's Feedback
Answer / jai
c) Since expn2 becoming false will terminate do-while loop.
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / bipin chandra sai.s
ans is d,bcoz d is only the loop statement in the option
Is This Answer Correct ? | 0 Yes | 4 No |
Explain what does the format %10.2 mean when included in a printf statement?
Are the expressions * ptr ++ and ++ * ptr same?
struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));
main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail
Is main is a keyword in c?
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.?
Explain b+ tree?
what is the difference between malloc() and calloc() function?
WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c file management?
28 Answers 3D PLM, Code Studio, Deltech, IBM,
Can we write a program without main() function?
How do we declare variables in c?
What is output redirection?