C Programming - Typedef
Exercise : Typedef - General Questions
- Typedef - General Questions
- Typedef - Find Output of Program
- Typedef - Point Out Errors
- Typedef - Yes / No Questions
1.
In the following code, the P2 is Integer Pointer or Integer?
typedef int *ptr;
ptr p1, p2;
2.
In the following code what is 'P'?
typedef char *charp;
const charp P;
3.
What is x in the following program?
#include<stdio.h>
int main()
{
typedef char (*(*arrfptr[3])())[10];
arrfptr x;
return 0;
}
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers