Home » C++ Programming » Basic Syntax » Question
  1. Choose the correct formatted code.
    1. int num = 10
    2. int 10 = num;
    3. int num = 10;
    4. All of above
    5. None of these
Correct Option: C

Variable initialisation should be done in this format int num = 10;.



Your comments will be displayed only after manual approval.