|
Question |
Rating |
View Answer |
|
Can I have members of different record length in a single PDS? |
|
View Answer |
|
40) #include<stdio.h> main() { char s[]={'a','b','c','
','c',' |
|
View Answer |
|
What is MOD and when would you use it?
|
|
View Answer |
|
64) #define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE");
|
|
View Answer |
|
5. main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }
|
|
View Answer |
|
How do you convert negative packed decimal number to positive PD using JCL?
|
|
View Answer |
|
82) # include <stdio.h> int one_d[]={1,2,3}; main() { int *ptr; ptr=one_d; ptr+=3; printf("%d",*ptr); }
|
|
View Answer |
|
What is difference between addressing mode and residential mode
|
|
View Answer |
|
What are the kinds of job control statements?
|
|
View Answer |
|
88) int i; main(){ int t; for ( t=4;scanf("%d",&i)-t;printf("%d
",i)) printf("%d--",t--); } // If the inputs are 0,1,2,3 find the o/p
|
|
View Answer |
|
23. #include <stdio.h> #define a 10 main() { #define a 50 printf("%d",a); }
|
|
View Answer |
|
32) main() { int i=1; while (i<=5) { printf("%d",i); if (i>2) goto here; i++; } } fun() { here: printf("PP"); }
|
|
View Answer |
|
54) int i,j; for(i=0;i<=10;i++) { j+=5; assert(i<5); }
|
|
View Answer |
|
55) main() { int i=-1; +i; printf("i = %d, +i = %d
",i,+i); }
|
|
View Answer |
|
99) void main() { unsigned giveit=-1; int gotit; printf("%u ",++giveit); printf("%u
",gotit=--giveit); }
|
|
View Answer |
|
How do you check the syntax of a JCL without running it? |
|
View Answer |
|
22. main() { char *p="hai friends",*p1; p1=p; while(*p!=' |
|
View Answer |
|
What does the keyword DCB mean and what are some of the keywords associated with it?
|
|
View Answer |
|
Why do you want to specify the REGION parameter in a JCL step? |
|
View Answer |
|
What is STEPLIB, JOBLIB? What is it used for? |
|
View Answer |