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


#include<stdio.h>
#include<conio.h>
void main()
{
char ch='\356';
printf("%d",ch);
}
o/p=-18 why?plz.explain

Answers were Sorted based on User's Feedback



#include<stdio.h> #include<conio.h> void main() { char ch='\356'; pr..

Answer / dreambiren143

o/p=-18

Is This Answer Correct ?    4 Yes 2 No

#include<stdio.h> #include<conio.h> void main() { char ch='\356'; pr..

Answer / manish soni bca 3rd year jaipu

in place of 356 we i/p and see o/p;
i/p o/p
0-7 0-7

8-9 56-57

10-17 8-15

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

Why is c platform dependent?

0 Answers  


int n=1; while(1) { switch(n) { case 1:printf("a"); n++; continue; case 2:printf("b"); n++; continue; default : printf("c"); break; } break; }

1 Answers  


WHAT IS ABSTRACT DATA TYPE

4 Answers   Wipro,


Write a c program to print the sizes and ranges of different data types in c?

1 Answers  


how to write a program which adds two numbers without using semicolon in c

2 Answers  


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

0 Answers  


Why pointers are used in c?

0 Answers  


#include<stdio.h> main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?

6 Answers   Ramco,


WHAT IS HIGH LEVEL LANGUAGE?

2 Answers  


write an algorithm and a program to count the number of elements in a circularly singly linked list

1 Answers   Ignou,


What is the use of function in c?

0 Answers  


In a header file whether functions are declared or defined?

0 Answers   TISL,


Categories