Académique Documents
Professionnel Documents
Culture Documents
Answer:
Answer:
Int*ptr;
Ptr=(int*)0*400;
Answer:
import java.util.scanner;
Int n=in.nextint();
If(n%2==0){
System.out.println(n+is an even number)}
Else{
}}}
Answer:
Answer:
Answer keyz:
see <A
HREF="http://www.petri.co.il/configuring_routing_in_w2k_pro_xp_pro.htm"
target="_new">THIS </A> for a very good (but not confirmed) set of instructions.
Make sure you backup the registry since registry mods are required.
2)#include<stdio.h>
int main()
{ if(!printf("Hello")) printf("Hello");
#include <stdio.h>
int main()
int i, n = 20;
getchar();
return 0;}
#include <stdio.h>
int main()
int i, n = 20;
printf("*");
getchar();
return 0;
#include <stdio.h>
int main()
int i, n = 20;
for (i = 0; i + n; i--)
printf("*");
getchar();
return 0;
A)
5)Explanation:
#include<dos.h>
#include<stdio.h>
int main(){
int x,y,k;
i.x.ax=1;
int86(0x33,&i,&o);
//its value will false when we hit key in the key board
while(!kbhit()) {
x=o.x.cx;
y=o.x.dx;
printf("(%d , %d)",x,y);
delay(250);
int86(0x33,&i,&o);
return 0;
6)Explanation:
#include <stdio.h>
typedef struct{
}myType;
myType a;
printf("%d",a.mt);
return 0;
}
7)One solution is 010011,and it is probably the shortest in repesting series we
may get
110100110100110100111010011
If we are to look through the sequence we find that we can match the pattern
010011 but not the reverse pattern 110010.hence we now the direction of person
travelling.
8)garbage values
9): yes
4 is an even number
11)only once
12)#include<stdio.h>
Typedef struct{
Mytype:
Int main(int argc.char*argv[]){
Mytype a;
Printf(d,a.mt);
Return ;
13)The central 1*1*1 cube has six faces.no cut can reveal two or more of these
faces!
14)yes using the bright sunrays,you can then burn away the string allowing the
ring to fall down on the bottom of the bottle.
15)The program suffers no problem and gives the output because the character
constants are stored in code/dat area and not allocated in stack,so this doesnt
lead to dangling pointers.