what is the value of 'i'?
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
Answer Posted / mahesh
Strlen(BLUE)=4, strlen(people)=6, strlen(red)=3, strlen(green)= 5 so by BODMAS method we can slove this
4 + 6 / 3 - 5 = 4+2-5= 1
1st divison, 2nd addition, 3 rd subraction
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the difference between array and pointer?
Once I have used freopen, how can I get the original stdout (or stdin) back?
Can we use visual studio for c?
What are called c variables?
What are Macros? What are its advantages and disadvantages?
What is variable declaration and definition in c?
Why is c so important?
What is #line?
What is the scope of an external variable in c?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
what is the significance of static storage class specifier?
What is logical error?
Why we use int main and void main?
Is boolean a datatype in c?
What is difference between stdio h and conio h?