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


Please Help Members By Posting Answers For Below Questions

what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1442


What is pass by value in c?

589


how to find binary of number?

3409


What are the 4 types of organizational structures?

613


Why is c known as a mother language?

733






Difference between exit() and _exit() function?

647


What is a null pointer in c?

584


Is file a keyword in c?

492


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

649


Not all reserved words are written in lowercase. TRUE or FALSE?

713


What are nested functions in c?

556


Why header files are used?

632


What are different types of variables in c?

559


what are bit fields in c?

596


Write a program to print ASCII code for a given digit.

676