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 is pointer to pointer in c?
Does c have circular shift operators?
Why calloc is better than malloc?
Write a program for Overriding.
Can you pass an entire structure to functions?
Why is structure padding done in c?
What is the difference between printf and scanf )?
What is the use of linkage in c language?
What is the purpose of clrscr () printf () and getch ()?
What is function what are the types of function?
Where are some collections of useful code fragments and examples?
What is main function in c?
How are structure passing and returning implemented?
What is the function of this pointer?
What are the different types of control structures in programming?