what is the value of 'i'?
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
Answers were Sorted based on User's Feedback
Answer / vignesh1988i
THIS will be replaced as
4+6/3-5
the output is 1
| Is This Answer Correct ? | 29 Yes | 1 No |
Answer / 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 |
Answer / 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 |
Answer / mahesh
Strlen(BLUE)=4, strlen(people)=6, strlen(red)=3, strlen(green)= 5 so by BODMAS method we can slove this
4 + 6 / 3 - 5 = 4+2-5= 1
1st divison, 2nd addition, 3 rd subraction
| Is This Answer Correct ? | 2 Yes | 1 No |
How can you dynamically allocate memory in C?
Explain how do you declare an array that will hold more than 64kb of data?
whether itis a structured language?
what is different between auto and local static? why should we use local static?
how many errors in c explain deply
What is a program flowchart and how does it help in writing a program?
What is the purpose of clrscr () printf () and getch ()?
what is the use of a array in c
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
Are c and c++ the same?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
difference between function & structure