what is the value of 'i'?
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
Answer Posted / abc
i = strlen("Blue")+ strlen("People")/ strlen("Red")- strlen
("green")
it is evaluated as
strlen("People")/ strlen("Red")
6 / 3 as 2 then
strlen("Blue")+ 2
4 + 2 as 6 then
6 - strlen("green")
6 - 5 as 1
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What are the 5 elements of structure?
What is void main () in c?
What are the advantages of the functions?
What is the difference between array and structure in c?
What is the explanation for cyclic nature of data types in c?
What is a string?
In c language can we compile a program without main() function?
What is f'n in math?
What are header files why are they important?
What are the modifiers available in c programming language?
How do I use void main?
Explain how do you override a defined macro?
Do character constants represent numerical values?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Explain what are global variables and explain how do you declare them?