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
Why are algorithms important in c program?
What is the size of enum in c?
How do you initialize pointer variables?
When is the “void” keyword used in a function?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What is a program?
What are the applications of c language?
Explain a pre-processor and its advantages.
What is the difference between far and near in c?
What's the best way of making my program efficient?
What is an operator?
how do you execute a c program in unix.
What are the advantages of using new operator as compared to the function malloc ()?
How can I read data from data files with particular formats?
Explain what is the difference between the expression '++a' and 'a++'?