Q. Which of the following is not a valid pointer type?

  • (A) int *p;
  • (B) float *p;
  • (C) void *p;
  • (D) string *p;
πŸ’¬ Discuss
βœ… Correct Answer: (D) string *p;
Explanation: string is not a valid C type; use char* instead.
Explanation by: Mr. Dubey
string is not a valid C type; use char* instead.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
89
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate