Previous 1 2 3 4 5 6 7 8 9 10 Next
Sort By :
Latest First | Oldest First | By Rating
|
Question |
Rating |
View Answer |
|
7. main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
|
|
View Answer |
|
What is the DD statement for a output file? |
|
View Answer |
|
46) main() { show(); } void show() { printf("I'm the greatest"); }
|
|
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 |
|
What is DISP=(NEW,PASS,DELETE)? |
|
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 |
|
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 |
|
14. main() { int i=10; i=!i>14; Printf ("i=%d",i); }
|
|
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 |
|
What are the valid DSORG values ? |
|
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 |
|
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 |
|
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 |
|
What is the importance of ADDRSPC parameter in EXEC statement and how is it different from REGION parameter of EXEC statement?
|
|
View Answer |
|
How can be determined if date contained in the header of a file is date current date?
|
|
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 |
Previous 1 2 3 4 5 6 7 8 9 10 Next
|