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


Please Help Members By Posting Answers For Below Questions

How can I call fortran?

632


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

598


What is string function c?

558


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

972


how to count no of words,characters,lines in a paragraph.

3893






The difference between printf and fprintf is ?

710


What is character constants?

706


What are data structures in c and how to use them?

662


number of times a digit is present in a number

1535


How to set file pointer to beginning c?

658


Explain how are 16- and 32-bit numbers stored?

774


What is getch c?

844


What is the difference between typedef struct and struct?

590


Explain how do you determine whether to use a stream function or a low-level function?

616


Explain how can you tell whether two strings are the same?

578