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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you pass an array to a function by value?

604


What should malloc() do?

646


What is enumerated data type in c?

629


What is the difference between functions getch() and getche()?

624


How can I rethow can I return a sequence of random numbers which dont repeat at all?

707






Explain the Difference between the New and Malloc keyword.

689


What is difference between union All statement and Union?

628


How can I read and write comma-delimited text?

622


What is scope rule in c?

608


What is strcmp in c?

601


How main function is called in c?

632


What is FIFO?

677


Does c have an equivalent to pascals with statement?

575


Why do we use return in c?

570


What is difference between static and global variable in c?

540