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 queue in c?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
What is struct node in c?
If you know then define #pragma?
What are Macros? What are its advantages and disadvantages?
Where are c variables stored in memory?
Is int a keyword in c?
Does c have class?
Why is c faster?
Is there a built-in function in C that can be used for sorting data?
Why can't I perform arithmetic on a void* pointer?
What is the scope of an external variable in c?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is static and volatile in c?