Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews C Programming Interviews:C FunctionsC PointersC Preprocessor
Copyright © 2018. All Rights Reserved
C Functions Interview Question:
Do you have any idea how to compare array with pointer in C?
Submitted by: AdministratorThe following declarations are NOT the same:
char *p;
char a[20];
The first declaration allocates memory for a pointer; the second allocates memory for 20 characters.
Submitted by: Administrator
char *p;
char a[20];
The first declaration allocates memory for a pointer; the second allocates memory for 20 characters.
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.