Interviewer And Interviewee Guide

Data Structure Arrays Interview Question:

What will be output if you will execute following c code?
#include<stdio.h>
#define var 3
void main(){
char *ptr="cquestionbank";
printf("%d",-3[ptr]);

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