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 |
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
to convert a string without using decrement operater and string functions
what is pointer?
13 Answers HCL, TCS,
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
How to define structures? ·
What is a good data structure to use for storing lines of text?
please send me papers for Dy. manager IT , PNB. it would be a great help for me.
There seem to be a few missing operators ..
What is identifiers in c with examples?
How many levels of indirection in pointers can you have in a single declaration?
0 Answers Agilent, ZS Associates,
how should functions be apportioned among source files?