|
Question |
Rating |
View Answer |
 |
68) int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); }
|
|
View Answer |
 |
28) enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); } |
|
View Answer |
 |
How to Execute from the second step in the PROC that is used in the JCL?
|
|
View Answer |
 |
What is DISP=(NEW,PASS,DELETE)? |
|
View Answer |
 |
What is the purpose of the PARM keyword in the EXEC statement?
|
|
View Answer |
 |
14. main() { int i=10; i=!i>14; Printf ("i=%d",i); }
|
|
View Answer |
 |
How to invoke a jcl(with all control cards, like job crad and all) from another jcl
|
|
View Answer |
 |
What is 'S0C7' abend? |
|
View Answer |
 |
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code? |
|
View Answer |
 |
Can you code instream data in a PROC ? |
|
View Answer |
 |
92) What are the following notations of defining functions known as? i. int abc(int a,float b) { /* some code */ } ii. int abc(a,b) int a; float b; { /* some code*/ }
|
|
View Answer |
 |
91) In the following pgm add a stmt in the function fun such that the address of 'a' gets stored in 'j'. main(){ int * j; void fun(int **); fun(&j); } void fun(int **k) { int a =0; /* add a stmt here*/ }
|
|
View Answer |
 |
What are the valid DSORG values ? |
|
View Answer |
 |
2. main() { char s[ ]="man"; int i; for(i=0;s[ i ];i++) printf("
%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]); }
|
|
View Answer |
 |
66) main() { int y; scanf("%d",&y); // input given is 2000 if( (y%4==0 && y%100 != 0) || y%100 == 0 ) printf("%d is a leap year"); else printf("%d is not a leap year"); }
|
|
View Answer |
 |
What are the differences between JES2 & JES3 ? |
|
View Answer |
 |
16. #include<stdio.h> main() { int a[2][2][2] = { {10,2,3,4}, {5,6,7,8} }; int *p,*q; p=&a[2][2][2]; *q=***a; printf("%d----%d",*p,*q); }
|
|
View Answer |
 |
3. main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }
|
|
View Answer |
 |
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? |
|
View Answer |
 |
74) main() { int i=5,j=6,z; printf("%d",i+++j); }
|
|
View Answer |