Computer Science, asked by thridhamsunny, 2 months ago

#include<stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9 ;
}​

Answers

Answered by ary23434
2

Answer:

24

Explanation:

5*9 = 45

45/3 = 15

15+9 = 24

so , answer is 24

Answered by NirmalPandya
0

it wont print anything as there is no print statement given. If there would have been printf(x) it would have shown the value is 24

  • here we can say that the information required to include the input/output-related functions in our application is included in the header file stdio. h. For instance, printf, scanf, etc. We must include stdio if we wish to utilise the printf or scanf functions in our application.
  • The void main() indicates that the main() function will not return any value, but the int main() indicates that the main() can return integer type data. When our program is simple, and it is not going to terminate before reaching the last line of the code, or the code is error free, then we can use the void main().
  • 5*9 = 45\\\frac{45}{3}  = 15\\15+9 = 24

so , answer is 24

#SPJ3

Similar questions