Question: Which of the following is illegal?

Options

A : int *ip;

B : string s, *sp = 0;

C : int i; double* dp = &i;

D : int *pi = 0;

Click to view Correct Answer

Previous ||

C Plus Plus Aptitude Question Answer Pointers more questions

Which data type is used to represent the absence of....

Which of the data types has the size that is....

Which of the following declaration will result in run-time error?

The correct statement for a function that takes pointer to....

How do you allocate a matrix using a single pointer....

Which of the following is not a valid variable name....

Which of the following function declaration is illegal?

What is the correct syntax of declaring array of pointers....

How do you instantiate an array in Java?

How do you initialize an array in C?

Chemical Engineering Basics - Part 1 more Online Exam Quiz

C Programming String Operations

C Programming Ungetc 2

C Programming Variable Length Argument

C Programming Variable Names 1

C Programming Variable Names 2

Cplusplus Interview Basic String

C Plus Plus Interview Macros

C Plus Plus Interview Questions And Answers Arrays

C Plus Plus Interview Questions And Answers Value Return

Cplusplus Interview Questions C Style Algorithms