what is the value of 'i'?
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
Answer Posted / 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 |
Post New Answer View All Answers
How old is c programming language?
Why should I use standard library functions instead of writing my own?
what will be maximum number of comparisons when number of elements are given?
Explain the difference between call by value and call by reference in c language?
Is javascript based on c?
What are keywords c?
What are control structures? What are the different types?
Is swift based on c?
What is difference between Structure and Unions?
what is event driven software and what is procedural driven software?
How can I determine whether a machines byte order is big-endian or little-endian?
Do pointers need to be initialized?
show how link list can be used to repersent the following polynomial i) 5x+2
Write a program to print all permutations of a given string.
Explain output of printf("Hello World"-'A'+'B'); ?