⟩ Average inventory level is reduced by A. decreasing the vendor lead time B. increasing the usage rate C. decreasing the order quantity D. lowering the reorder point E. None of the above
C. decreasing the order quantity
C. decreasing the order quantity
What will be output if you will execute following c code? #include<stdio.h> #define WWW -1 enum {cat,rat}; void main(){ int Dhoni[]={2,'b',0x3,01001,'x1d','111',rat,WWW}; int i; for(i=0;i<8;i++) printf(" %d",Dhoni[i]);
Tell me do array subscripts always start with zero?
What will be output if you will execute following c code? #include<stdio.h> void main(){ int xxx[10]={5}; printf("%d %d",xxx[1],xxx[9]);
What will be output if you will execute following c code? #include<stdio.h> void main(){ int arr[][3]={{1,2},{3,4,5},{5}}; printf("%d %d %d",sizeof(arr),arr[0][2],arr[1][2]); }
What will be output if you will execute following c code? #include<stdio.h> void main(){ int a=5,b=10,c=15; int *arr[3]={&a,&b,&c}; printf("%d",*arr[*arr[1]-8]);
Explain is it valid to address one element beyond the end of an array?
What will be output if you will execute following c code? #include<stdio.h> union group{ char xarr[2][2]; char yarr[4]; }; void main(){ union group x={'A','B','C','D'}; printf("%c",x.xarr[x.yarr[2]-67][x.yarr[3]-67]); }
Can you please explain the difference between array_name and &array_name?
What will be output if you will execute following c code? #include<stdio.h> #include<math.h> typedef struct{ char *name; double salary; }job; void main(){ static job a={"TCS",15000.0}; static job b={"IBM",25000.0}; static job c={"Google",35000.0}; int x=5; job * arr[3]={&a,&b,&c}; printf("%s %ft",(3,x>>5-4)[*arr]); } double myfun(double d){ d-=1; return d;
What will be output if you will execute following c code? #include<stdio.h> #include<math.h> double myfun(double); void main(){ double(*array[3])(double); array[0]=exp; array[1]=sqrt; array[2]=myfun; printf("%.1ft",(*array)((*array[2])((**(array+1))(4)))); } double myfun(double d){ d-=1; return d; }