Quiz question.(doubt))

"/* What will be the output of the following program ? */

#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;
}"

hey lokesh, try to run this code on your own. In case you have compile it and getting any error,share the screenshots for that error message.

1 Like

okay fine.
short can’t be used with float or double

okay fine.
short can’t be used with float or double

hey @3lokesharora , if your query is resolved. Please mark this doubt as resolved and rate me on the basis of your experience.
rating option will appear when to mark this doubt as resolved

1 Like