+ 2

c program ,can someone help me

#include <stdio.h> int main(void) { int a; int b = 1; int x[5] = { 1, 2, 3, 4, 5 }; a = 5 * 4 + x[b++] - (9 / b); printf("%d", a); return 0; } Output: 18

23rd Mar 2022, 2:20 PM
Prabhas Koya
6 Answers
+ 1
What is the precedence order here
23rd Mar 2022, 3:19 PM
Prabhas Koya
+ 1
Isn't paranthesis solved first You know precedency ,associativity right
23rd Mar 2022, 3:29 PM
Prabhas Koya