what is the value of 'i'?
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
Answer Posted / aditya
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen
("green")
it is evaluated as
strlen("People")/strlen("Red")
6-4 as 2 then
strlen("Blue")+2
4+2 as 6 then
6-strlen("green")
6-5 as 1
Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Should a function contain a return statement if it does not return a value?
Is flag a keyword in c?
What is the difference between text and binary i/o?
What is the use of sizeof?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
Explain the use of fflush() function?
Which driver is a pure java driver
What is scope rule in c?
Why c is called a mid level programming language?
Why is c still so popular?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is c preprocessor mean?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?