#include<stdio.h>
#include<conio.h>
void main()
{
char ch='\356';
printf("%d",ch);
}
o/p=-18 why?plz.explain

Answers were Sorted based on User's Feedback



#include<stdio.h> #include<conio.h> void main() { char ch='\356'; pr..

Answer / dreambiren143

o/p=-18

Is This Answer Correct ?    4 Yes 2 No

#include<stdio.h> #include<conio.h> void main() { char ch='\356'; pr..

Answer / manish soni bca 3rd year jaipu

in place of 356 we i/p and see o/p;
i/p o/p
0-7 0-7

8-9 56-57

10-17 8-15

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

Differentiate between null and void pointers.

0 Answers   TCS,


How does normalization of huge pointer works?

0 Answers  


Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?

2 Answers   Excel,


here is a link to download Let_Us_C_-_Yashwant_Kanetkar

3 Answers   Microsoft,


A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone

1 Answers  






How can I find the modification date of a file?

0 Answers   Celstream,


write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.

0 Answers   Lovely Professional University,


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

0 Answers  


What do header files do?

0 Answers  


main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }

2 Answers  


#include <stdio.h> int main() { if ("X" <"x") printf("X smaller than x "); } my question is whats the mistake in this program? find it and please tell me..

3 Answers  


Array is an lvalue or not?

0 Answers  


Categories