main()
{
int i;
i = abc();
printf("%d",i);
}
abc()
{
_AX = 1000;
}
Answers were Sorted based on User's Feedback
Answer / susie
Answer :
1000
Explanation:
Normally the return value from the function is through the
information from the accumulator. Here _AH is the pseudo
global variable denoting the accumulator. Hence, the value
of the accumulator is set 1000 so the function returns value
1000.
| Is This Answer Correct ? | 21 Yes | 12 No |
Answer / ashish dayama
gives error b'coz _AX is not declared in function...this will give error untll we take _AX as int variable in abc().....:)
| Is This Answer Correct ? | 10 Yes | 5 No |
void main() { static int i; while(i<=10) (i>2)?i++:i--; printf(ā%dā, i); }
Print an integer using only putchar. Try doing it without using extra storage.
main() { char *p; int *q; long *r; p=q=r=0; p++; q++; r++; printf("%p...%p...%p",p,q,r); }
void main() { char ch; for(ch=0;ch<=127;ch++) printf(ā%c %d \nā, ch, ch); }
void func1(int (*a)[10]) { printf("Ok it works"); } void func2(int a[][10]) { printf("Will this work?"); } main() { int a[10][10]; func1(a); func2(a); } a. Ok it works b. Will this work? c. Ok it worksWill this work? d. None of the above
what is the code of the output of print the 10 fibonacci number series
How will u find whether a linked list has a loop or not?
Predict the Output: int main() { int *p=(int *)2000; scanf("%d",2000); printf("%d",*p); return 0; } if input is 20 ,what will be print
Write a program that produces these three columns sequence nos. using loop statement Sequence nos. Squared Squared + 5 1 1 6 2 4 9 3 9 14 4 16 21 5 25 30
main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }
#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }
why java is platform independent?