write a function to give demostrate the functionality of 3d
in 1d. function prototye:
change(int value,int indexX,int indexY,int indexZ, int []
1dArray);
value=what is the date; indexX=x-asix indexY=y-axis
indexZ=z-axis and 1dArray=in which and where
the value is stored??
No Answer is Posted For this Question
Be the First to Post Answer
Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique.
5 Answers IITR, Microsoft, Nike,
can u give me the c codings for converting a string into the hexa decimal form......
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }
main() { float i=1.5; switch(i) { case 1: printf("1"); case 2: printf("2"); default : printf("0"); } }
void main () { int x = 10; printf ("x = %d, y = %d", x,--x++); } a. 10, 10 b. 10, 9 c. 10, 11 d. none of the above
main() { register int a=2; printf("Address of a = %d",&a); printf("Value of a = %d",a); }
void main() { int i=5; printf("%d",i++ + ++i); }
main() { int a=2,*f1,*f2; f1=f2=&a; *f2+=*f2+=a+=2.5; printf("\n%d %d %d",a,*f1,*f2); }
main() { int i=4,j=7; j = j || i++ && printf("YOU CAN"); printf("%d %d", i, j); }
Give a oneline C expression to test whether a number is a power of 2?
25 Answers EA Electronic Arts, Google, Motorola,