Question: If we declare two variables Char x='a'; Int p=0; According to your opinio is this a legal move P=x; If yes give reason,if no

If we declare two variables Char x='a'; Int p=0; According to your 

If we declare two variables Char x='a'; Int p=0; According to your opinio is this a legal move P=x; If yes give reason,if no what legal operation can we perform to assign x value to a.

Step by Step Solution

3.43 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

No p x is not legal because ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

6361c3647570f_235987.pdf

180 KBs PDF File

Word file Icon

6361c3647570f_235987.docx

120 KBs Word File

Students Have Also Explored These Related Programming Questions!