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 a=5,b=10,c=15;
int *arr[3]={&a,&b,&c};
printf("%d",*arr[*arr[1]-8]);

Submitted by: Muhammad
Compilation error
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.