Previous 1 2 3 4 5 6 7 8 9 10 Next
Sort By :
Latest First | Oldest First | By Rating
|
Question |
Rating |
View Answer |
|
What is the work of initiator?
|
|
View Answer |
|
21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }
|
|
View Answer |
|
49) main( ) { static int a[ ] = {0,1,2,3,4}; int *p[ ] = {a,a+1,a+2,a+3,a+4}; int **ptr = p; ptr++; printf(“
%d %d %d”, ptr-p, *ptr-a, **ptr); *ptr++; printf(“
%d %d %d”, ptr-p, *ptr-a, **ptr); *++ptr; printf(“
%d %d %d”, ptr-p, *ptr-a, **ptr); ++*ptr; printf(“
%d %d %d”, ptr-p, *ptr-a, **ptr); }
|
|
View Answer |
|
main() { clrscr(); } clrscr();
|
|
View Answer |
|
10. main() { printf("%x",-1<<4); }
|
|
View Answer |
|
How you can delete a particular record from jcl? That is a file(PS) has 50 records, i need to delete the 5th record without any condition, how you will do it? |
|
View Answer |
|
77) struct point { int x; int y;};struct point origin,*pp; main() { pp=&origin; printf("origin is(%d%d)
",(*pp).x,(*pp).y); printf("origin is (%d%d)
",pp->x,pp->y); }
|
|
View Answer |
|
65) main() { int k=1; printf("%d==1 is ""%s",k,k==1?"TRUE":"FALSE"); }
|
|
View Answer |
|
62) main() { char *str1="abcd"; char str2[]="abcd"; printf("%d %d %d",sizeof(str1),sizeof(str2),sizeof("abcd")); }
|
|
View Answer |
|
How to by pass the step without cond parameter
|
|
View Answer |
|
94) main(){ char a[100]; a[0]='a';a[1]]='b';a[2]='c';a[4]='d'; abc(a); } abc(char a[]){ a++; printf("%c",*a); a++; printf("%c",*a); }
|
|
View Answer |
|
How many jobs can we write in a single file ? |
|
View Answer |
|
96) void main() { static int i=5; if(--i){ main(); printf("%d ",i); } }
|
|
View Answer |
|
What is the advatage of coding RECFM=F over RECFM=FB.
I know the concept that RECFM=FB is fast, easily accessable due to the fact that FEW (not 1 records) records are allocated to each BLOCK. Then who would like to specify RECFM=F? And why?
|
|
View Answer |
|
How do you designate a comment in JCL?
|
|
View Answer |
|
89) main(){ int a= 0;int b = 20;char x =1;char y =10; if(a,b,x,y) printf("hello"); }
|
|
View Answer |
|
36) #include<stdio.h> main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }
|
|
View Answer |
|
24. #define clrscr() 100 main() { clrscr(); printf("%d
",clrscr()); }
|
|
View Answer |
|
41) #include<stdio.h> main() { struct xx { int x=3; char name[]="hello"; }; struct xx *s=malloc(sizeof(struct xx)); printf("%d",s->x); printf("%s",s->name); }
|
|
View Answer |
|
What happens if both JOBLIB & STEPLIB is specified ? |
|
View Answer |
Previous 1 2 3 4 5 6 7 8 9 10 Next
|