x=2,y=6,z=6
x=y==z;
printf(%d",x)

Answer Posted / suchita

here we can not use and conditional statement thats why we can
not say "this is a boolean eq" and thats why x print either 2 or
garbage value

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a function?

583


How variables are declared in c?

573


Write a program to reverse a given number in c?

602


What does 2n 4c mean?

721


which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above

1420






Here is a neat trick for checking whether two strings are equal

566


What is ponter?

775


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2455


What is the data segment that is followed by c?

616


Explain is it better to bitshift a value than to multiply by 2?

719


write a c program for swapping two strings using pointer

2094


How many levels of indirection in pointers can you have in a single declaration?

596


What is far pointer in c?

814


If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..

1595


What is the maximum length of an identifier?

667