Data Structure Arrays Question:
Download Questions PDF

What will be output if you will execute following c code?
#include<stdio.h>
#define var 3
void main(){
char data[2][3][2]={0,1,2,3,4,5,6,7,8,9,10,11};
printf("%o",data[0][2][1]);

Answers:

Answer #1
5

Answer #2
sas

Download Arrays Interview Questions And Answers PDF

Previous QuestionNext Question
What will be output if you will execute following c code?
#include<stdio.h>
#define var 3
void main(){
char *cricket[var+~0]={"clarke","kallis"};
char *ptr=cricket[1+~0];
printf("%c",*++ptr);
What will be output if you will execute following c code?
#include<stdio.h>
#define var 3
void main(){
short num[3][2]={3,6,9,12,15,18};
printf("%d %d",*(num+1)[1],**(num+2));