MCQs > IT & Programming > C Programming > Following code snippet? void main() { unsigned char a=25; a = ~a; signed char b = 25; b = ~b; printf('%d %d ', a, b); }

C Programming MCQs

What would be printed on the standard output as a result of the
following code snippet?
void main()
{
unsigned char a=25;
 
a = ~a;
signed char b = 25;
b = ~b;
printf("%d %d ", a, b);
}

Answer

Correct Answer: 230 -26

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it