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
Why double pointer is used in c?
Why is c so popular?
Define C in your own Language.
What are 'near' and 'far' pointers?
Write a program to check prime number in c programming?
What is local and global variable in c?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
Is that possible to add pointers to each other?
What is array in c with example?
What is a void pointer? When is a void pointer used?
How is a structure member accessed?
What is the size of empty structure in c?
What are the scope of static variables?
What is extern keyword in c?
What is c mainly used for?