#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

code for selection sort?

1 Answers  


praagnovation

0 Answers  


what is the advantage of software development

1 Answers  


What are types of preprocessor in c?

0 Answers  


Does c have function or method?

0 Answers  






i want to have a program to read a string and print the frequency of each character and it should work in turbo c

3 Answers   Persistent, Wipro,


write a c program to find the probability of random numbers between 1-1000

0 Answers   ADS,


Why do we use namespace feature?

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  


a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

0 Answers  


What is scanf_s in c?

0 Answers  


Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321

7 Answers   HCL,


Categories