can you tell the reason of answer of ques3 of quiz on programming fundamentals1
Reason for a question in quiz
Sir it is not able to upload
hey @apoorv123, yes there is error in line 5.
when we write only signed or unsigned it means that it is for int datatype only.
like signed a=100; unsigned a=10;
Even signed a=‘A’ is also correct and a will store ascii value of a.
if line line 5, you put ’ ’ on A, it will not give any error and give the answer that you marked.
while dealing with modifiers for char, we have to mentioned signed or unsigned.
check this link to know more about datatypes modifiers https://codescracker.com/cpp/cpp-modifier-types.htm
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.