السلام عليكــم ورحمـة الله وبركاتــه ،،
كيف حالك يا شباب إن شاء الله بخير ؟
عندي اسئلة بخصوص لغة السي ممكن تساعدوني؟؟
Q1:Give the correct C expression for the mathematical equations below:
K=(8j+6m/3j )+3ab
E=3a+6b-4j^2
Q2- state the order of evaluation of the operators in each of the following C statement and show the value of a,b and c after each statement is performed.
C=(3+9)/(3+(9+3/(3)));
Q3:What is the value of a and c after execution of the following statements , if
a=a%b+5-c/2
c=c+b/5-(3*a-3)
q4:assuming x is 15.0 and y is 25.0, what are the values of the following conditions?
X!=y
X==y+x-y
Q5:Write a single C statement to accomplish each of the following:
Multiply the variable product by 2 using the *= operator
Q6:Assume a=1 and b=2. What does each of the following statements print?
Printf("%d", a> = 1 && b <4 );
Printf("%d",! (a-a));
بانتظاركم