if we take a number as a char then can we manipulate(add,
subtract) on this number
Answer Posted / deepak garg
#include<stdio.h>
int main()
{
int x,y;
x=1+'a';
y='b'-1;
printf("%d,%d\n",x,y);
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is calloc() function?
What do you understand by normalization of pointers?
Why clrscr is used after variable declaration?
What is restrict keyword in c?
What is the value of uninitialized variable in c?
What is pass by reference in functions?
What is ponter?
How can I use a preprocessorif expression to ?
How can I ensure that integer arithmetic doesnt overflow?
How does free() know explain how much memory to release?
What does %c do in c?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
What should malloc() do?
How do you determine a file’s attributes?
Explain what are global variables and explain how do you declare them?