×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which of the following is invalid?

134. Which of the following is invalid?

  1. string str, *ptr=0;
  2. int a, float *f = &a;
  3. int *ptr;
  4. None of the above

Answer: B) int a, float *f = &a;

Explanation:

The 2nd option is invalid because we are trying to initialize the address of the integer variable to a float pointer.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.