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

What is calloc() function?

1047


What do you understand by normalization of pointers?

1004


Why clrscr is used after variable declaration?

1621


What is restrict keyword in c?

1049


What is the value of uninitialized variable in c?

976


What is pass by reference in functions?

770


What is ponter?

1224


How can I use a preprocessorif expression to ?

997


How can I ensure that integer arithmetic doesnt overflow?

1082


How does free() know explain how much memory to release?

1011


What does %c do in c?

938


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1671


What should malloc() do?

1100


How do you determine a file’s attributes?

1015


Explain what are global variables and explain how do you declare them?

1085