|
Question |
Rating |
View Answer |
|
Describe the DD statement, its meaning, syntax and keywords |
|
View Answer |
|
19. main() { printf("
ab"); printf("si"); printf(" ha"); }
|
|
View Answer |
|
34) void main() { int i=5; printf("%d",i++ + ++i); }
|
|
View Answer |
|
How can I get the number of records of a sequential file without browsing it?
|
|
View Answer |
|
main() { main(); }
|
|
View Answer |
|
What is the meaning of keyword in JCL? What is its opposite?
|
|
View Answer |
|
How do you access a file that had a disposition of KEEP? |
|
View Answer |
|
What do you do if you do not want to keep all the space allocated to a dataset? |
|
View Answer |
|
63) main() { char not; not=!2; printf("%d",not); }
|
|
View Answer |
|
53) main() { int i, n; char *x = “girl”; n = strlen(x); *x = x[n]; for(i=0; i<n; ++i) { printf(“%s
”,x); x++; } }
|
|
View Answer |
|
80) main() { char c=' ',x,convert(z); getc(c); if((c>='a') && (c<='z')) x=convert(c); printf("%c",x); } convert(z) { return z-32; }
|
|
View Answer |
|
44) main() { printf("%d", out); } int out=100;
|
|
View Answer |
|
How do you overcome this limitation ? |
|
View Answer |
|
25. main() { printf("%p",main); }
|
|
View Answer |
|
How to Execute from the second step in the PROC that is used in the JCL?
|
|
View Answer |
|
76) struct aaa{ struct aaa *prev; int i; struct aaa *next; }; main() { struct aaa abc,def,ghi,jkl; int x=100; abc.i=0;abc.prev=&jkl; abc.next=&def; def.i=1;def.prev=&abc;def.next=&ghi; ghi.i=2;ghi.prev=&def; ghi.next=&jkl; jkl.i=3;jkl.prev=&ghi;jkl.next=&abc; x=abc.next->next->prev->next->i; printf("%d",x); }
|
|
View Answer |
|
17. #include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s; printf("%d",s->x); printf("%s",s->name); }
|
|
View Answer |
|
What is the purpose of the PARM keyword in the EXEC statement?
|
|
View Answer |
|
How to invoke a jcl(with all control cards, like job crad and all) from another jcl
|
|
View Answer |
|
96) void main() { static int i=5; if(--i){ main(); printf("%d ",i); } }
|
|
View Answer |