Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Tell me with an example the self-referential structure?

1034


Here is a neat trick for checking whether two strings are equal

1023


What is the use of ?: Operator?

1140


How can I do serial ("comm") port I/O?

1184


hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...

1919


How can I call a function with an argument list built up at run time?

1248


If I have a char * variable pointing to the name of a function ..

1176


What is structure padding in c?

1140


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

1179


Create a simple code fragment that will swap the values of two variables num1 and num2.

1293


What is the sizeof () a pointer?

998


why wipro wase

2315


Describe the steps to insert data into a singly linked list.

1077


What is a MAC Address?

1068


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1064