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...


main()
{
char ch='356';
Printf("%d",ch);
}



*OUTPUT*:-
-18



*Why?*



main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Wh..

Answer / nmaity

ans is wrong

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Write a function that will take in a phone number and output all possible alphabetical combinations

0 Answers   Motorola,


Write a C program that computes the value ex by using the formula ex =1+x/1!+x2/2!+x3+3!+………….

1 Answers  


a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21

4 Answers   TCS,


What is getch () for?

0 Answers  


given the piece of code int a[50]; int *pa; pa=a; to access the 6th element of the array which of the following is incorrect? a.*(a+5) b.a[5] c.pa[5] d.*(*pa + 5)

6 Answers   amu, TCS,


Explain the red-black trees?

0 Answers  


read the folllowing code # define MAX 100 # define MIN 100 .... .... if(x>MAX) x=1; else if(x<MIN) x=-1; x=50; if the initial value of x=200,what is the vlaue after executing this code? a.200 b.1 c.-1 d.50

4 Answers   TCS,


How reliable are floating-point comparisons?

0 Answers  


difference between string and array?

6 Answers  


Who is the main contributor in designing the c language after dennis ritchie?

0 Answers  


How we can write a value to an address using macro..?

0 Answers   Tata Elxsi,


What is the difference between fread buffer() and fwrite buffer()?

0 Answers  


Categories