MCQs>IT & Programming>Programming With C>What will be printed on the standard output as a result of the following code snippet? void main() { int num1 = 30, num2 = 4; float result; result = (float)(num1/num2); printf('%.2f', result); return 0; }
Programming With C MCQs
What will be printed on the standard output as a result of the following code snippet? void main() { int num1 = 30, num2 = 4; float result; result = (float)(num1/num2); printf("%.2f", result); return 0; }
Answer
Correct Answer: 7.000000
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one