#include<stdio.h>

int main()
{
int a[3][3][2]=
{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};
printf("%d\n",*(*(*a+1));

return 0;
}

What will be the output of the above question? And how?



#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,..

Answer / nikhil kumar sahu

Error...
one Right parenthesis is missing for printf function

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More C Interview Questions

if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

1 Answers   TCS,


Write a program to print the following series 2 5 11 17 23 31 41 47 59 ...

2 Answers  


How can I do serial ("comm") port I/O?

0 Answers   Celstream,


Explain what are binary trees?

0 Answers  


Write a program to swap two numbers without using third variable in c?

0 Answers  






#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(ā€œ%dā€ ,a[i]); }

8 Answers  


What is sizeof array in c?

0 Answers  


Why c is a procedural language?

0 Answers  


What is a file descriptor in c?

0 Answers  


main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 Answers   Vector, Vector India,


What is use of integral promotions in c?

0 Answers  


What are header files? What are their uses?

0 Answers  


Categories