MCQs > IT & Programming > C Programming > Output of following code? int main() { int a=5; if(a=10) printf('Value of a=%d',a); else printf('Value of a=%d',a); return 0; }

C Programming MCQs

What will be the output of following code? int main() { int a=5; if(a=10) printf("Value of a=%d",a); else printf("Value of a=%d",a); return 0; }

 

Answer

Correct Answer:

Value of a=10


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