in C Plus Plus by

Which of the following is not a valid way to declare a pointer in C Language?

A) int ptr;

B) int ptr;

C) int * ptr;

D) intptr;

1 Answer

0 votes
by

Answer: D

Explanation: Option D is not a valid way to declare a pointer in C Language. The correct syntax is to use the * operator after the data type, as shown in options A, B, and C.

...