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
Tell me with an example the self-referential structure?
Here is a neat trick for checking whether two strings are equal
What is the use of ?: Operator?
How can I do serial ("comm") port I/O?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
How can I call a function with an argument list built up at run time?
If I have a char * variable pointing to the name of a function ..
What is structure padding in c?
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
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is the sizeof () a pointer?
why wipro wase
Describe the steps to insert data into a singly linked list.
What is a MAC Address?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd