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

i got 75% in all semester am i eligible for your company

1749


what is the height of tree if leaf node is at level 3. please explain

1612


How do you do dynamic memory allocation in C applications?

636


Is c still used?

614


What is the difference between ā€˜gā€™ and ā€œgā€ in C?

2705






How many data structures are there in c?

627


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

664


What are the different types of linkage exist in c?

623


What is nested structure?

590


What is adt in c programming?

627


What is the general form of function in c?

621


Differentiate between Macro and ordinary definition.

740


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

666


What is d'n in c?

651


Which programming language is best for getting job 2020?

619