main()
{
int x, arr[8]={11,22,33,44,55,66,77,88};
x=(arr+2)[3];
printf(“%d”,x);
}
Answers were Sorted based on User's Feedback
Answer / vishnu
66 is the answer
explanation
name of array contains the base address of the array ,by adding 2 to base address we are changing its initial position by 2,so now arr[0] is 33 , thus a[3] is 66.
| Is This Answer Correct ? | 8 Yes | 3 No |
What is getche() function?
What does the file stdio.h contain?
write function to reverse char array ... without using second array
How to receive strings with spaces in scanf()
#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?
16 Answers Accel Frontline, Opera, Oracle,
What are c preprocessors?
Why do we use c for the speed of light?
if we take a number as a char then can we manipulate(add, subtract) on this number
Is the C language is the portable language...If yes...Then Why...and if not then what is problem so it is not a Portable language..???
why little endian and big endian came?y they using differently? y they not used commonly ?wt is application of little and big ?
Describe the difference between = and == symbols in c programming?
Explain what is meant by 'bit masking'?