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 can I call fortran?
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
What is string function c?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
how to count no of words,characters,lines in a paragraph.
The difference between printf and fprintf is ?
What is character constants?
What are data structures in c and how to use them?
number of times a digit is present in a number
How to set file pointer to beginning c?
Explain how are 16- and 32-bit numbers stored?
What is getch c?
What is the difference between typedef struct and struct?
Explain how do you determine whether to use a stream function or a low-level function?
Explain how can you tell whether two strings are the same?