InidBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming Java Programming
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test
Group Disucssion HR Interview Questions Technical Interview Questions Body Language

Exercise

"I do not seek. I find."
- Pablo Picasso

C Programming - Typedef

@ : Home > C Programming > Typedef > General Questions
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

2. 

In the following code what is 'P'?

typedef char *charp;
const charp p;

A.
P is aconstant
B. P is a character constant
C. P is character typeD. None of above

3. 

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

typedef int *ptr;
ptr p1, p2;

A. IntegerB.
Integer pointer
C. Error in declarationD. None of above


© 2008-2010 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy