Given a piece of code
int x[10];
int *ab;
ab=x;
To access the 6th element of the array which of the
following is incorrect?
(A) *(x+5) (B) x[5] (C) ab[5] (D) *(*ab+5} .
Answers were Sorted based on User's Feedback
Can u please send me the exam pattern and also Previous papers to javed123go@gmail.com
what do structure language means?
What are reserved words?
What is difference between the following 2 lines…. int temp = (int)(0x00); int temp = (0x00int);
What are the disadvantages of external storage class?
11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
Which is best linux os?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What language is windows 1.0 written?
Tell me what is the purpose of 'register' keyword in c language?
Difference between fopen() and open()?
Which is better pointer or array?