Doubt quiz question

#include
using namespace std;

int main(){
signed CodingBlocks = 9;
short double Nagarro = 8.8;
signed char HackerBlocks = ‘A’;
cout<<CodingBlocks<<endl;
cout<<Nagarro<<endl;
cout<<HackerBlocks<<endl;

return 0;
}"

in 4th line before Codingblocks ,there is no data type but compiler doesn’t show any error ,why?
but in 5th line compiler shows a error ?

Hi @Jitu748, short double is not valid data type for cpp, use float or double instead.

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.