Interviewer And Interviewee Guide

Data Structure Arrays Interview Question:

What will be output if you will execute following c code?
#include<stdio.h>
void main(){
int arr[][3]={{1,2},{3,4,5},{5}};
printf("%d %d %d",sizeof(arr),arr[0][2],arr[1][2]);
}

Submitted by: Muhammad
18 0 5
Submitted by: Muhammad

Read Online Data Structure Arrays Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.