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 |
Can the curly brackets { } be used to enclose a single line of code?
Give me the code of in-order recursive and non-recursive.
What are the primitive data types in c?
provide an example of the Group by clause, when would you use this clause
print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20
how do u find out the number of 1's in the binary representation of a decimal number without converting it into binary(i mean without dividing by 2 and finding out the remainder)? three lines of c code s there it seems...can anyone help
What is a double c?
What is array of structure in c programming?
How to print India by nested loop? I IN IND INDI INDIA
How do I read the arrow keys? What about function keys?
main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }
What is #include cctype?