1-When allocate memory with size 64 byte :
Int *m=new int [31];
Float *m=new float[8];
Double *m=new double[8];
Long *m=new long[16]
2-When print the address of the fifth character in pointer n on the screen :
Printf("%p", n[4]);
Printf("%p", n+5);
Printf("%p",&n[4]);
Printf("%p",n[5]);
3-to see the moving of a circle (circle(x,y,10)) from left top corner to right lower corner on the screen we need to ___________________
increase x and decrease y
increase x and increase y after every 0.0001 ms
increase x and decrease y after every 100 ms
increase x and increase y after every 100 ms
4-arc(0,0,90,270,40); draw seen half circle
False
True
For the given options, the best suits are as follows:
Double uses 8 bytes of data so 8*8 = 64 bytes
And '&' denotes address of certain data.

As moving on the screen x has to be increased and y has to be decreased as per the requirement.
And the arc function depicts the previous diagram.
Get Answers For Free
Most questions answered within 1 hours.