IndiaBIX
IndiaBIX
Start typing & press "Enter" or "ESC" to close
  • Home
  • Jobs
  • Results
  • Current Affairs
  • GK
  • Online Test
  • HR Interview
  • BLOG

Typedef

  • Home
  • Computer Science & Engineering
  • C Programming Questions and Answers
  • Typedef
1. 

What is x in the following program?

#include<stdio.h>

int main()
{
typedef char (*(*arrfptr[3])())[10];
arrfptr x;
return 0;
}

 

 
A. x is a pointer
B. x is an array of three pointer
C. x is an array of three function pointers
D. Error in x declaration

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

2. 

In the following code what is 'P'?

typedef char *charp;
const charp P;

A. P is a constant
B. P is a character constant
C. P is character type
D. None of above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

3. 

In the following code, the P2 is Integer Pointer or Integer?

typedef int *ptr;
ptr p1, p2;

A. Integer
B. Integer pointer
C. Error in declaration
D. None of above

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

Questions & Answers

Aptitude Chemical Engineering Civil Engineering Computer Science & Engineering Current Affairs Data Interpretation Electrical & Electronics Engineering Electronics & Communication Engineering General Knowledge Logical Reasoning Mechanical Engineering Non Verbal Reasoning Verbal Ability Verbal Reasoning

Interviews

HR Interview

Jobs

Sarkari Jobs

Results

Rojgar ResultSarkari Result

Admission

Admission 2023

Admit Card

Admit Card 2023

Answer Key

Answer Key 2023
copyright
Privacy Policy
© 2023 IndiaBIX. All Rights Reserved.

Report