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 does the message "automatic aggregate intialization is an ansi feature" mean?
What are the rules for the identifier?
Where are c variables stored in memory?
What kind of structure is a house?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Why doesnt the call scanf work?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
Describe the order of precedence with regards to operators in C.
code for replace tabs with equivalent number of blanks
What is the difference between exit() and _exit() function in c?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
what is the structure pointer?
What is the use of a conditional inclusion statement in C?
What are unions in c?
Write a program to print “hello world” without using semicolon?