Solution not clear

pls explain why is there no error in line “signed CodingBlocks = 9;” as there is no defined data type for variable CodingBLocks…

  • By default, integers are signed . Hence instead of signed int , we can directly use int .
  • signed and unsigned can only be used with int and char types.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.