what is the value of 'i'?

i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")

Answer Posted / vignesh1988i

THIS will be replaced as

4+6/3-5

the output is 1

Is This Answer Correct ?    29 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the test cases for checking a variable having value in range -10.0 to +10.0?

1808


Why structure is used in c?

572


How do you define a string?

645


How do I get a null pointer in my programs?

608


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

1613






write a program in c language to print your bio-data on the screen by using functions.

6237


What is calloc()?

617


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

627


What is the need of structure in c?

552


What is the use of header files?

588


What does stand for?

582


Why is c called a mid-level programming language?

711


What is the use of void pointer and null pointer in c language?

613


How to declare pointer variables?

675


How will you declare an array of three function pointers where each function receives two ints and returns a float?

767